Hybrid battery management system

ABSTRACT

Provided is a device configured to determine a power capacity of a battery of a vehicle, predict a first set of values indicative of amounts of power to be stored during a time interval by the battery, the power being generated by a renewable energy generator carried by the vehicle, and predict a second set of values indicative of amounts of energy to be consumed from the battery during the time interval based on previous energy consumption by the vehicle. The device is also configured to determine a score based on the power capacity, the first set of values, and the second set of values. The system is also configured to determine whether the score satisfies a threshold and, in response to a determination that the score satisfies the threshold, activate an internal combustion engine to charge to the battery.

CROSS-REFERENCE TO RELATED APPLICATIONS

This patent application claims the benefit of U.S. Provisional PatentApplication 63/024,396, titled HYBRID SOLAR AND GENERATOR POWER SYSTEMFOR VEHICLES WITH BATTERY MANAGEMENT SYSTEM THAT REDUCES CARBONFOOTPRINT, filed 13 May 2020. The entire content of the earlier-filedapplication is hereby incorporated by reference for all purposes.

BACKGROUND

A vehicle often has onboard battery systems to power various electricalcomponents of the vehicle (e.g., to run vehicle monitoring systems, aircontrol systems, and onboard appliances). These battery systems may beconnected to a portfolio of power sources to charge a battery. Powersources may include generators powered by a fuel-consuming device,renewable energy sources (e.g., on-site solar and wind), andgrid-connected outlets. A battery management system (BMS) is anelectronic circuit capable of monitoring and controlling the chargingand discharging of the battery.

Vehicle power production varies over time and space. The availability,quality, and price of renewable energy sources vary throughout the timeof day, time of year, and according to the weather. Such variations mayalso be based on other factors, such as a geolocation of the renewableenergy being harvested. Furthermore, vehicle energy consumption alsovaries over time and space. Such energy may be used in various ways,such as by operating an air conditioner, using cooking equipment, usinga set of computing devices, or the like.

SUMMARY

The following is a non-exhaustive listing of some aspects of the presenttechniques. These and other aspects are described in the followingdisclosure.

Some aspects include a process that includes determining a powercapacity of a battery of a vehicle and predicting a set of power outputsto be sent to the battery from a renewable energy generator carried bythe vehicle during a time interval. The process also includes predictinga set of power consumption values based on a set of records indicatingprevious power consumption values of the vehicle and determining a scorebased on the power capacity, the set of power outputs, and the set ofpower consumption values. The process also includes determining whetherthe score satisfies a threshold and, in response to a determination thatthe score satisfies the threshold, activating an internal combustionengine to charge to the battery.

Some aspects include a tangible, non-transitory, machine-readable mediumstoring instructions that when executed by a data processing apparatuscause the data processing apparatus to perform operations including theabove-mentioned process.

Some aspects include a system that includes one or more processors andmemory storing instructions that, when executed by the processors, causethe processors to effectuate operations of the above-mentioned process.

BRIEF DESCRIPTION OF THE DRAWINGS

The above-mentioned aspects and other aspects of the present techniqueswill be better understood when the present application is read in viewof the following figures in which like numbers indicate similar oridentical elements:

FIG. 1 is a schematic diagram of a battery management system, inaccordance with some embodiments.

FIG. 2 illustrates a computing environment in a battery managementsystem that may be implemented with the present techniques, inaccordance with some embodiments.

FIG. 3 is a flowchart of a process for activating a non-renewable energygenerator, in accordance with some embodiments.

FIG. 4 is a schematic diagram of a vehicle that includes a batterymanagement system, in accordance with some embodiments.

FIG. 5 shows an exemplary computing system by which the presenttechniques may be implemented in accordance with some embodiments.

While the present techniques are susceptible to various modificationsand alternative forms, specific embodiments thereof are shown by way ofexample in the drawings and will herein be described in detail. Thedrawings may not be to scale. It should be understood, however, that thedrawings and detailed description thereto are not intended to limit thepresent techniques to the particular form disclosed, but to thecontrary, the intention is to cover all modifications, equivalents, andalternatives falling within the spirit and scope of the presenttechniques as defined by the appended claims.

DETAILED DESCRIPTION

To mitigate the problems described herein, the inventors had to bothinvent solutions and, in some cases, just as importantly, recognizeproblems overlooked (or not yet foreseen) by others in the field ofbattery management system design. Indeed, the inventors wish toemphasize the difficulty of recognizing those problems that are nascentand will become much more apparent in the future should trends inindustry continue as the inventors expect. Further, because multipleproblems are addressed, it should be understood that some embodimentsare problem-specific, and not all embodiments address every problem withtraditional systems described herein or provide every benefit describedherein. That said, improvements that solve various permutations of theseproblems are described below.

Many battery-management systems (BMSs) for vehicles waste fuel byfailing to account for future periods of high renewable energyproduction, even when doing so will not affect consumption. These BMSsmay apply simple logic, like that of a bang-bang controller triggered bycomparing a battery's power capacity to a minimum and maximumthresholds. For example, a BMS may start an internal combustion engine(ICE) generator that consumes fuel when the reserve power capacity of abattery drops below 40% charge and continue ICE operations until thebattery reaches a reserve power capacity of 90% charge. However, suchsimple logic fails to account for times when a substantial amount ofrenewable energy production is about to come back online to charge thebatteries, such as during the morning as the sun appears. Thus, a BMSmay inadequately privilege renewable energy production over ICE energyproduction, resulting in greater use of the ICE than is needed tosatisfy power consumption requirements. Such a scenario may result inwasted fuel, increased carbon emissions, and the accelerated degradationof mechanical equipment.

To overcome one or more of the technical problems described in thisdisclosure, some embodiments may execute logic to control differentamounts of energy to send to a battery from different energy sourcesresponsive to a given state. In some embodiments, an embedded computersystem may perform operations to reduce fuel consumption of vehiclescapable of using both non-renewable energy generators and renewableenergy generators. The set of operations may include predicting anenergy surplus or energy deficit over a time interval based on apredicted amount of energy or power output generated by the generators,a state of a set of batteries, and a set of values based on ageolocation or environmental data associated with the vehicle. Someembodiments may determine a power capacity of a vehicle battery andpredict a future power capacity of the battery based on a set ofpredicted power outputs or associated quantities of energy produced by arenewable energy generator. For example, some embodiments may obtain ageolocation of a vehicle and predict a set of power outputs equal to1000 watts (W) sent to the battery from a solar energy generator duringa time interval between 4 AM and 4 PM. Some embodiments may then predicta set of power consumption values for the same time interval based onvalues stored in a set of records indicating previous power consumptionvalues of the vehicle.

Some embodiments may use the predicted values to determine a scoreassociated with a net energy change during the time interval. Inresponse to a determination that the score satisfies a threshold or someother criteria, some embodiments may activate the ICE or schedule anactivation time for the ICE to charge the battery. As describedelsewhere in this disclosure, some embodiments may perform otheroperations to predict a set of power outputs during a time interval. Forexample, some embodiments may perform operations to provide a userinterface (UI) to a computing device via a set of program instructionsor other data used to generate an instance of the UI on the computingdevice. The UI may include UI elements, such as text entry boxes,interactive calendars, sliders, radio buttons, rotating objects, or thelike. As described elsewhere in this disclosure, some embodiments maypermit a user to interact with the set of UI elements to determine aschedule indicating energy consumption, operational parameters for agenerator, a set of environmental data, or the like.

By providing one or more of the features described in this disclosure,some embodiments may reserve power capacity for renewable energyproduction while maintaining a sufficient buffer of energy to servepredicted power consumption. Additionally, some embodiments may reducecarbon emissions caused by the use of the ICE to generate electricity.That said, none of the preceding (or following) should be read as adisclaimer of any subject matter, as a variety of independently usefultechniques are described, and some of those techniques may be deployedto address some issues without addressing other described problems withearlier approaches. Furthermore, while some embodiments may be describedas having a feature, this is not to suggest that all embodiments havethis feature or that any other described feature is not also amenable tovariation. For example, while some embodiments may describe the transferof excess power to increase the performance of a computer system, someembodiments may perform operations described in this disclosure forwithout transferring excess power to a computer system.

FIG. 1 is a schematic diagram of a battery management system, inaccordance with some embodiments. The vehicle system 100 displays a BMS102 of a vehicle, where the BMS includes a battery data bus 120, a setof cell management integrated circuits 121-122 in communication with thebattery data bus 120, a microcontroller 122, and a controller areanetwork (CAN) bus 124. A vehicle may include a ground-based vehicle suchas a bus, a recreational vehicle (RV), a sprinter van, or the like. AnRV may include vehicles that are capable of traveling on the ground andincludes at least one of a heating device for cooking, a water pump forbathing or biological waste removal, or a bed. A vehicle may alsoinclude a watercraft such as a boat, a ship, a ferry, or the like. Avehicle may also include an aerial vehicle such as a drone, helicopter,plane, aerostat, or the like.

The BMS 102 can read data from or control the operations of one or moreelectric generators, such as a set of renewable energy generators 106 ora set of non-renewable energy generators 108. The BMS 102 may a includeprocessor, such as a microcontroller 122, microprocessor, or a centralprocessing unit (CPU) in an ASIC or FPGA form. The microcontroller 122may be used to obtain data from more devices via the CAN bus 124. Forexample, the microcontroller 122 may obtain vehicle sensor data from theset of vehicle sensors 150. Alternatively, or in addition, themicrocontroller 122 may obtain weather forecast data such as anindicated solar irradiance value or other environmental data from anetwork interface 112 via the CAN bus 124. The BMS 102 may execute logicto perform one or more operations described in this disclosure, wherethe logic may be hard-wired into a chip or be programmed as software orfirmware stored in volatile or non-volatile memory of the BMS 102.

As described elsewhere in this disclosure, a renewable energy generatormay include generators that provide electricity from one or morerenewable energy sources. For example, the set of renewable energygenerators 106 may include a solar energy generator, a wind turbine, oranother type of generator that converts a renewable energy source intoelectricity. Furthermore, as described elsewhere in this disclosure, anon-renewable energy generator may include a generator that is poweredby a fuel, such as a hydrocarbon fuel source. For example, the set ofnon-renewable energy generators 108 may include an ICE generator thatconsumes hydrocarbon fluids such as gasoline, diesel gas, propane, ornatural gas to generate electricity.

In some embodiments, the vehicle system 100 may include a generatorcontroller and inverter system 161 may convert electric energy fromdirect current into alternating current. For example, the generatorcontroller and inverter system 161 may include multiple inverterscompatible with each generator of the set of renewable energy generators106 and the set of non-renewable energy generators 108 to transferenergy from the set of generators 106 or 108 to the set of batteries 104or to other electricity-consuming components of a vehicle. Additionally,the generator controller and inverter system 161 may modify or updateother power sources connected to the set of batteries 104. For example,the microcontroller 122 may include instructions to operate thegenerator controller and inverter system 161 with the CAN bus 124. Theinstructions may also control which generators are used to charge theset of batteries 104 via electrical contact between the generatorcontroller and inverter system 161, the set of generators 106 or 108,and the set of batteries 104.

In some embodiments, the BMS 102 may receive data indicating the stateof the set of batteries 104 via the battery data bus 120, which may sendand receive data to a battery cell 141 and a battery cell 142 of the setof batteries 104. The state of the set of batteries 104 may include apower capacity indicating the amount of energy being stored by the setof batteries 104, a maximum power capacity, a measure of batterydegradation, a current, a voltage difference of the battery, or thelike. As used in this disclosure, a power capacity is the usable amountof energy stored in a battery. For example, if a battery is limited tooperate between 40% and 80% of a maximum power capacity by software orhardware limitations, then the power capacity, when provided in relativeterms, of the battery when the battery is at the upper operational limitmay be equal to 80%. As described elsewhere in this disclosure, someembodiments may determine whether or when to activate a generator basedon one or more states of the set of batteries 104. Additionally, someembodiments may perform a calibration operation to update a thresholdvalue or re-determine a value based on a change in certain state values,such calibrating a battery by changing a maximum power capacity of abattery.

While not shown in FIG. 1, some embodiments may include additionalcircuitry, inverters, or components to accommodate batteries havingdifferent voltages, power capacities, control systems, or the like. Forexample, some embodiments may perform one or more operations describedin this disclosure to charge a first set of Lithium-ion (Li-Ion)batteries having a maximum power capacity of 10 kWh and a second set oflead acid batteries having a maximum power capacity of 5 kWh, wheredifferent power operations may be performed to select which set ofbatteries to charge or discharge. As used in this disclosure, a powercapacity may indicate the amount of energy stored in a battery and maybe measured in units of energy such as Watt-hours (Wh), Joules (J),calories, or the like. Alternatively, or in addition, the power capacityof a battery may be reported to a microcontroller, microprocessor orother computing device in the form of a ratio relative to a maximumpower capacity of a battery, or in the form of an ordinal value, such“low” or “high.”

FIG. 2 illustrates a computing environment in a battery managementsystem that may be implemented with the present techniques, inaccordance with some embodiments. In some embodiments, some or all ofthe above-describe techniques may be implemented in a computingenvironment 200. The computing environment 200 is able to collect datafrom a set of vehicle sensors 210, external data 220, a set of batterystate sensors 230, a set of power source sensors 240, or user interface250. The computing environment may collect, analyze, and respond to datawith an embedded system 260, where the embedded system 260 may includean embedded processor to execute one or more operations described inthis disclosure. For example, some embodiments may use an embeddedprocessor executing instructions using a Reduced Instruction SetComputer (RISC) architecture or use other computing architecturedesigned for embedded processors.

The set of vehicle sensors 210 may include sensors capable of detectingdata useful for characterizing a local environment of a vehicle. Suchsensors may include a set of temperature sensors 211 to determinetemperature data, set of pressure sensors 212 to collect pressure data,a set of humidity sensors 213 to detect a local humidity level, a set oflight sensors 214 to detect an ambient light within or outside of avehicle, or the like. As described elsewhere in this disclosure, someembodiments may use data indicating the state of a local environmentaround or within the vehicle to predict a power output of an electricgenerator or an energy consumption rate.

The set of vehicle sensors 210 may also include additional sensors suchas a set of sound sensors 215, a set of motion sensors 216, or the like.The measurements made by sound sensors, motion sensors, or other sensorsof a vehicle may be used to determine a number of individuals present ina vehicle, identify or otherwise characterize the users of the vehicle,or determine anomalous events within or outside the vehicle.Alternatively, or in addition, sensor data provided by the set ofvehicle sensors 210 may be used to categorize a behavior of an occupantof the vehicle or predict a current or future behavior of the occupant.

The external data 220 may be provided from a set of servers, where theset of servers may provide environmental data 221 such as a weathercondition, quantities related to the solar irradiance of an area, cloudcoverage, wind speeds, wind direction, water current speeds, watercurrent directions, or the like. As described elsewhere in thisdisclosure, some embodiments may obtain the external data by firstsending a request to the server indicating a geolocation to obtain theenvironmental data 221 for that geolocation. Some embodiments mayinclude one or more times with the geolocation to obtain a set ofpredictions of environmental data 221 at the geolocation for the one ormore times. Alternatively, or in addition, the external data 220 may beprovided directly from another data source, such as a satellite, anothermobile computing device in communication with the vehicle, or the like.

The external data 220 may also include a set of equipment data 222,where the set of equipment data 222 may be used to predict a powerconsumption or a generator power output. In some embodiments, the set ofequipment data 222 may include software instructions to update theoperations of a renewable energy generator such as a solar panel, anon-renewable energy generator such as an ICE, a battery system, or thelike. Alternatively, or in addition, the set of equipment data 222 mayinclude calibration values that increase the accuracy of a prediction ofpower consumption or power generation.

The external data 220 may be provided to the embedded system 260 via adata network 225, where the data network 225 may be the Internet or aprivate data network. The external data 220 may be transmitted to theembedded system 260 via a set of wireless signals broadcast over awireless network, such as a satellite Internet network, a 4G LTEnetwork, 6G network, Wi-Fi network, or the like. Some embodiments maysend data from a local memory of a computing device of the vehicle. Forexample, some embodiments may send data stored in the set of records 280to a remote server or cloud computing service, where the sent may bestored, analyzed, and used to generate further instructions, such as anupdated version of the set of equipment data 222. Additionally, someembodiments may include instructions to upload stored data to a remoteserver, cloud computing service, or other endpoint in response to adetermination that the vehicle has a network connection that satisfies aset of connection criteria, such as satisfying a bandwidth threshold orsatisfies a latency threshold. Alternatively, or in addition, someembodiments may delete a local version of data to create local datastorage space for new measurements or user-entered data.

Some embodiments may modify requests for data based on a connectionquality, where different amounts of data or types of data is provided tothe embedded system 260 based on one or more measures of connectionquality or capability between a vehicle and a source of the externaldata 220. For example, some embodiments may determine that a bandwidthbetween the wireless communication equipment of a vehicle and a serverproviding environmental data 221 is less than a bandwidth threshold and,in response, send a request for solar irradiation data consisting offour values. After the vehicle proceeds to an area that permits thewireless communication equipment of the vehicle to communicate with theserver at a higher bandwidth that is greater than the bandwidththreshold, some embodiments may send a request to the server for solarradiation data consisting of 10 values. By receiving more values, someembodiments may be able to increase the accuracy of energy generationpredictions. Furthermore, by configuring the requested number of valuesbased on a connection quality measurement, some embodiments may preventconnection delays or inefficient use of limited bandwidth.

The set of battery state sensors 230 may be able to provide measurementsindicating a state of a battery, such as a power capacity, a batteryhealth, a charging rate of the battery, a discharge rate of the battery,a maximum power capacity of the battery or the like. As used in thisdisclosure, the term battery may refer to a single battery or aplurality of different batteries. The set of battery state sensors 230may also provide other indicators for the state of a battery, such as adegradation of the battery, a battery failure, a maximum charging rateof a battery, or the like. Some embodiments may use one or more of themeasurements provided by the set of battery state sensors 232 predict afuture power capacity of a battery. As described elsewhere in thisdisclosure, some embodiments may use these predictions in conjunctionwith other predictions to determine whether or not to activate agenerator, when to activate the generator, an operational parameter usedto operate the generator, or the like.

The set of power source sensors 240 may include sensors for a renewableenergy generator or sensors for a non-renewable energy generator. Theset of power source sensors 240 may indicate the state of variousaspects of a power source generator. For example, the set of powersource sensors 240 may include sensors for a solar panel, where thesolar panel sensors may provide measurements such as a set of solarirradiation predictions, the current being provided by the solar panel,a solar panel orientation, or the like. Additionally, the power sourcesensors may provide measurements characterizing the state of an ICE,such as an ICE temperature, an amount of fuel in a tank used to providefuel to the ICE, a power output relative to a maximum power output, orthe like. As described elsewhere in this disclosure, these measurementsmay be used to predict power outputs or quantities of energy produced bya renewable or non-renewable energy generator.

Some embodiments may permit a user to use a user interface 250 toprovide additional data useful for predicting power consumption or powergeneration values. The user interface 250 may provide different types ofUI screens that include different UI elements. For example, the UIscreen 251 includes a first UI element 252, which permits a user todirectly control the activation of a generator or an operationalparameter of the generator via the buttons labeled “1,” “2,” and “3.”The first UI screen 251 also includes a second UI element 253 thatenables a user to control a water pump. The first UI screen 251 alsoincludes a second UI element 253 that enables a user to control a waterpump or schedule a usage of the water pump. The first UI screen 251 alsoincludes a third UI element 254 that enables a user to control access todifferent types of networks.

As described elsewhere in this disclosure, one or more UI elements maypermit a user to enter a schedule for different equipment of a vehicle,such as a water pump, a generator, or the like. Some embodiments mayalso limit the usage of one or more components of a vehicle such that ascheduled activation time is permitted when the scheduled activationtime is within a permitted generator activation interval. For example, afirst scheduled activation time may be within a permitted generatoractivation interval, and a generator is permitted to be active duringthe scheduled activation time. A second scheduled activation time may beoutside a permitted generator activation interval, where the generatoris shut down or prevented from activating during the scheduledactivation time. Furthermore, some embodiments may provide a user withan option to schedule a use of one or more components of a vehicle,where the schedule may then be analyzed to determine the powerconsumption at different times of the day or different times of theyear. For example, some embodiments may permit a user to enter apreferred waking time, preferred cooking time, times of absence, andpreferred sleeping time. Some embodiments may then use the schedule todetermine or update a predicted set of power consumption values for thevehicle during a time interval covering the schedule.

Some embodiments may use the embedded system 260 to collect data from aset of sensors or other types of data sources described above. Theembedded system 260 may then execute program instructions to control theoperation of a power source controller 242, where the power sourcecontroller 242 may be used to activate, deactivate, or otherwise modifythe operations of a power source generator. While depicted separately,in some embodiments, the power source controller may be integrated withthe embedded system 260 in some embodiments. For example, the embeddedsystem 260 may include a power source controller that includes amicroprocessor to control a generator, a terminal(s) to receive wiresconnected to the generator, a relay to modify incoming or outgoingelectrical signals, or the like. Examples of a power source controllermay include a GSCM-mini as produced by Atkinson Electronicsheadquartered in Murray, Utah, or an XW Auto Generator Start as producedby Schneider Electric headquartered in Rueil-Malmaison, France.

Some embodiments may integrate the embedded system 260 with a set ofmemory devices storing a set of records 280, where the set of records280 may include different data repositories such as a first repository281 for storing sensor data, a second repository 282 for storing energygeneration data, or a third repository 283 for storing energyconsumption data. Some embodiments may store the values of the set ofrecords 280 using a SQL database. Alternatively, or in addition, someembodiments may store the values of the set of records 280 in a NoSQLdatabase, such as MongoDB, DynamoDB, Redis, or the like.

Some embodiments may further store records corresponding with a weathermodel usable to determine weather data or other environmental dataaround a vehicle. For example, some embodiments may store a weather datamodel, where each record of weather is associated with a set of weathermodel values such as a time, geolocation, and a set of weather forecastvalues such as a cloud coverage, dew point, humidity, pressure,visibility, temperature, wind speed, wind orientation, or the like. Asdescribed elsewhere in this disclosure, weather changes in the weatherforecast may cause updates in predicted power output. Some embodimentsmay include other environmental data values in a weather data model,such as a sunrise time, sunset time, pollution indicator, amount ofshade in a local environment, or the like. Some embodiments may alsostore records corresponding with sensor data models, generators datamodels, battery data models, or the like.

Some embodiments may use an analytics system 270 to somebody to performhigher order computations based on data collected by the embedded system260, where the data may be provided directly by the embedded system 260or the set of records 280, the external data 220, or another datasource. For example, the analytics system 270 may perform a set ofmachine learning operations to predict an energy consumption rate, agenerator power output, a future control parameter for a power sourcecontroller 242, or the like. As described elsewhere in this disclosure,the machine learning operations may include one or more machine learningmodels to generate predictions for power generation or power consumptionbased on inputs such as a set of weather model values, otherenvironmental data, occupant behavior, a current time, a current timerelative to a sunrise time, or the like. As discussed elsewhere in thisdisclosure, the machine learning models may include support vectormachines, random forest, or neural network models.

As described elsewhere in this disclosure, some embodiments maydetermine that an excess amount of energy will be produced by arenewable energy source that cannot be stored in the batteries of avehicle. For example, the battery may be unable to store energy at arate that is greater than a maximum charging rate, or a battery may beunable to store energy that exceeds its maximum power capacity. Someembodiments may transfer this excess energy to one or more scalablecomputing operations, such as a blockchain-related application. Forexample, as further described elsewhere in this disclosure, someembodiments may perform cryptocurrency mining using an excess energygenerated by a renewable energy generator that cannot be stored by abattery, where cryptocurrency mining may include generating multiplehash values to find a hash value that satisfies a set of criteria, suchas generating a hash value that is less than or equal to a target hash.

FIG. 3 is a flowchart of a process for activating a non-renewable energygenerator, in accordance with some embodiments. FIG. 3 is a flowchart ofprocesses that may be implemented in the computing environments of FIG.1 to manage a set of battery-coupled generators, in accordance with someembodiments. For example, the process may execute one or more routinesin the vehicle system 100. In some embodiments, the various operationsof the process 300 may be executed in a different order, operations maybe omitted, operations may be replicated, additional operations may beincluded, some operations may be performed concurrently, some operationsmay be performed sequentially, and multiple instances of the process 300may be executed concurrently, none of which is to suggest that any otherdescription herein is limited to the arrangement described. In someembodiments, the operations of the process 300 may be effectuated byexecuting program code stored in one or more instances of amachine-readable non-transitory medium, which in some cases may includestoring different subsets of the instructions on different physicalembodiments of the medium and executing those different subsets withdifferent processors, an arrangement that is consistent with use of thesingular term “medium” herein.

The process 300 may include determining a power capacity of a battery ofa vehicle, as indicated by block 304. As used in this disclosure, abattery may include a single battery device or a collection of batterydevices. For example, a battery may refer to a single Li-ion batterycell, or a series of Li-Ion battery cells, multiple Li-ion battery unitshaving multiple battery cells per unit, or the like. Some embodimentsmay store electric energy in one or more of various types of batteries,such as Li-ion batteries, Li-ion polymer batteries, lithium-metalhydride batteries, or the like.

As described in this disclosure, a vehicle battery may include a batterydevice that is integrated into the motor system of a vehicle. Forexample, a battery may include a single battery device of a motorvehicle that provides electrical energy to the motor engine of the motorvehicle and is charged by a renewable or nonrenewable energy source.Alternatively, or in addition, the vehicle may include both a chassisbattery to provide energy to a motor engine and a house battery to poweradditional components of the vehicle, such as a heating and coolingsystem, a set of water pumps, a set of heating elements, a communicationsystem, electronic appliances, electrical outlets, or the like.

The process 300 may include obtaining a vehicle geolocation, asindicated by block 308. Obtaining the vehicle geolocation may includeobtaining the vehicle geolocation from a GPS device, where the GPSdevice may receive signals from GPS satellites. Alternatively, or inaddition, obtaining the vehicle geolocation may include obtaining alocation based on an Internet connection with a local wireless network.For example, a determination that the vehicle is at a geolocation may bemade based on a determination that a computing device of the vehicle isin wireless communication with a local Wi-Fi network, where thegeolocation of the local Wi-Fi network is known. Alternatively, or inaddition, obtaining the vehicle geolocation may include obtaining thegeolocation from a UI, where a user may directly enter geolocationcoordinates into a text box.

Some embodiments may obtain a set of geolocations representing ascheduled path to be traveled by a vehicle, where the scheduled path mayinclude a set of geographic locations that are scheduled to be visitedby the vehicle. For example, some embodiments may retrieve a routethrough a set of roads representing a scheduled path of the vehicle onthe set of roads, where the speed of the vehicle and the geographiclocations of the route are stored in memory. As discussed elsewhere inthis disclosure, some embodiments may use this geolocation data inconjunction with the forecasted set of vehicle velocities to predictfuture geolocations of the vehicle. For example, for each respectivegeolocation of the path, the respective geolocation may be associatedwith a respective solar irradiance value. Similarly, some embodimentsmay obtain a navigation plan of the vehicle through a body of water orthrough the air to obtain the geolocations of the vehicle at differenttime intervals.

The process 300 may include obtaining weather forecast data or otherenvironmental data during a time interval, as indicated by block 312.Some embodiments may obtain a set of measurements from a set of sensorsof the vehicle. For example, some embodiments may poll a set ofregisters to obtain values or receiving interrupts reporting values on abus, like a CAN bus, where the values may indicate a weather forecast orother environmental data. In addition, some embodiments may obtainsignals from a GPS sensor of the vehicle to indicate the location of thevehicle and the corresponding BMS, renewable energy source(s), or otherenergy generator(s) of the vehicle. As described elsewhere in thisdisclosure, different subsets of a set of weather model values may beassociated with different geolocations or different times. Furthermore,as described elsewhere, some embodiments may determine different poweroutputs for these different subsets of a set of weather model values.For example, for each respective subset of the set of weather modelvalues indicating decreasing cloud coverage over time, some embodimentsmay determine a respective power output of the set of power outputs thatincreases over time based on the respective subset of the set of weathermodel values associated with a respective duration of the time interval.

Some embodiments may obtain a set of weather forecast values from a setof remote data sources via a network interface, such as a cellularnetwork interface or another wireless network interface, a wiredinterface, a Wi-Fi interface, or a low-earth-orbit satellite networkinterface. For example, some embodiments may send a hypertext transferprotocol (HTTP) web request to a server via a weather API, where the webrequest may include a set of geolocations and a set of timescorresponding with a set of geolocations. Some embodiments may thenreceive an HTTP web response from the server, where the web response mayinclude a set of times indicating sunrise or sunset, a set of weathermodel values such as a set of cloud coverage or a set of solarirradiance predictions, or the like.

A set of weather-related values may include quantitative valuesindicating a sun position or other values usable for determining thepower output of solar energy sources. For example, some embodiments mayobtain a set of environmental data values indicating a position of thesun relative to a solar energy source of the vehicle throughout the day,such as a sunrise time, sunset time, an altitude and azimuth of the sunat 15-minute increments, or the like. Some embodiments may obtain otherenvironment-related values such as quantitative values representing apercentage of solar irradiance predictions, cloud coverage, visibility,or the like. For example, some embodiments may send a web request to aweather-related server that includes the list “[[′38.8° N, 77.0° W′,205004010800], [′38.9° N, 77.1° W′, 202104200900]],” which may representa scheduled path of a vehicle traveling from a first geolocation havingthe GPS coordinates “38.8° N, 77.0° W” at 8 AM on Apr. 1, 2050 to asecond geolocation the GPS coordinates “38.9° N, 77.1° W” at 9 AM onApr. 1, 2050. Some embodiments may then obtain a web response from theweather-related server that includes values to indicate weather forecastvalues such as a global horizontal irradiance (GHI), direct normalirradiance (DNI), a cloud opacity, or the like. As described elsewherein this disclosure, weather changes indicated by a weather forecast maycause changes in the power output of a renewable energy generator over atime interval. For example a web response to the web request describedabove may include the list “[[GHI: 1120, DNI: 1050, cloudOpacity: 0.1],205004010800], [GHI: 750, DNI: 560, cloudOpacity: 0.5], 202104200900],”where the list indicates that the global horizontal irradiance is 1120watts per meter squared (W/m2), the direct normal irradiance is 1050W/m2, and the cloud opacity is 0.1 on 8 AM on Apr. 1, 2050 and that theglobal horizontal irradiance is 750 watts per meter squared (W/m2), thedirect normal irradiance is 560 W/m2, and the cloud opacity is 0.5 on 9AM on Apr. 1, 2050. Alternatively, or in addition, the set of weatherforecast values may also include categorical values representing weathertypes, such as “rain,” “hail,” “fog,” or the like. Some embodiments mayaccount for these categories with weighting values that may update ananticipated power output of a renewable energy source. As describedelsewhere in this disclosure, some embodiments may then predict a poweroutput based on the weather forecast values and equipment-specificparameters of the solar energy source, where operations to predict thepower output may include using an analytical or empirical model, using atrained machine learning model, using a statistical model, or the like.

In some embodiments, a set of weather-related values may includeweather-related values that are usable for determining the power outputof wind turbine generators. For example, some embodiments may obtainwind speeds and wind direction measurements based on a geolocation and atime that the vehicle is present at the geolocation. As describedelsewhere in this disclosure, some embodiments may then determine ananticipated power output based on the wind speeds and wind directionmeasurements. For example, some embodiments may obtain a set of windturbine parameters associated with a wind turbine for use in a functionthat includes instructions to determine a power output for a given windturbine based on a wind speed, a wind direction, and the set of windturbine parameters corresponding with the given wind turbine.

The process 300 may include predicting a set of power outputs to be sentto the battery from a renewable energy generator carried by the vehicleduring the time interval based on the weather forecast data or otherenvironmental data, as indicated by block 316. A power output may bemeasured in power measurements, such as watts, kilowatts (kW), or thelike. As described above, some embodiments may predict the power outputof a renewable energy source based on a set of geolocations. Forexample, some embodiments may determine the power output of a vehicleduring a time interval by determining the geolocation of a vehicle,based on the geolocation and determine a set of weather-relatedparameters based on the geolocation. Some embodiments may then determinethe power output of a renewable energy source for the time intervalbased on the set of weather-related parameters.

Some embodiments may determine a set of power outputs based onequipment-specific parameters of a renewable energy source and the setof weather-related data or other environmental data described above. Forexample, some embodiments may determine a power output based on a set ofequipment-specific parameters and a set of weather-related data. Variousoperations may be performed to obtain a set of equipment-specificparameters. For example, a set of solar panel parameters may be providedby software, retrieved from a database of parameters stored on a localcomputer memory of the vehicle, obtained via a wireless signal, ormanually entered by a user via a UI. The set of solar panel parametersbe used by a solar power model to determine an amount of power producedby a solar energy generator. In some embodiments, the solar power modelmay be linear model, where a predicted solar irradiance is proportionalto a power output. The set of solar panel parameters may include ascaling factor used to determine a power output from a computed solarirradiance prediction. For example, some embodiments may obtain a solarirradiance predictions of a 1000 W per meter{circumflex over ( )}2(W/m²) from a weather forecast and obtain a scaling factor of 0.20 aspart of the set of equipment-specific parameters. Based on auser-entered value that the solar panels of the solar energy generatorhave a total surface area of 10 m², some embodiments may determine thatthe power output during the duration is equal to 2000 W based on theproduct of 1000 W/m², 10 m², and 0.2.

Some embodiments may also query a weather API for wind direction andwind speed predictions corresponding with times bins associatingdifferent times (e.g., durations) during the time interval for whichpredictions are being made. Additionally, some embodiments may use thewind-related data to predict wind turbine power outputs using ananalytical or semi-analytical method. For example, some embodiments maydetermine a power output using a cubic approximation, where the poweroutput of a wind turbine is approximated to scale cubically with thewind speed. Some embodiments may account for the velocity of the vehiclewhen computing wind speed. For example, some embodiments may determine ashared vector component between a ship velocity on a body of water andthe velocity of the wind. Some embodiments may determine the sharedvector component by performing a dot product multiplication between afirst vector representing a ship velocity and a second vectorrepresenting a wind velocity. Some embodiments may then predict a poweroutput by determining a cube of the absolute value of the shared vectorcomponent and then determine the power output by multiplying by ascaling factor. Operations to accurately predict wind turbine poweroutputs while a vehicle is in motion may be advantageous for watercraft,which may often be in motion while the wind turbine of the watercraft isgenerating power.

Some embodiments may use a set of records indicating previous poweroutputs of a generator to predict future power outputs of the generator.For example, some embodiments may store a set of values associatingpower output from a power source with a set of weather forecast valuesand determine a set of power outputs based on the stored set of values.Various operations may be performed to determine the parameters of apower-output-predicting function, such as by using regression-basedoperations, statistical operations, or machine learning operations. Someembodiments may directly use a power output of the set of records topredict a future power output without transforming the recorded poweroutput. For example, some embodiments may determine that a GPS locationof a later day is within a range threshold of a previous GPS location ofa previous day and, in response, query a record of power output(s) of arenewable energy source to use the recorded power output(s) from theprevious day as a prediction of the power output for the later day.

Some embodiments may account for other factors when predicting a set ofpower outputs, such as shade or smoke. For example, some embodiments maypredict a quantitative effect that shade from a nearby structure has ona vehicle's solar panels and determine an hour-by-hour (or some othershared time bin) based adjustment to predict the power output of thesolar panels. For example, some embodiments may apply a power generationmodel based on a geolocation that first predicts a power output over atime interval using based on environmental data obtained from a weatherAPI and then updates the power output based on an indication that thegeolocation is associated with the indicator “shade.”

Some embodiments may use operations based on time series analysis orrelated methods to predict a set of power outputs. For example, someembodiments may predict a power output using time series analysis ofpower outputs at previous times, locations, or environmental data topredict future power output based on future times, locations, orenvironmental data. Some embodiments may apply one or moretransformation operation on input data to predict future outputs, wheretransform operations based on cyclical patterns may provide increasedpredictive accuracy. For example, some embodiments may apply Fourieranalysis on a set of records indicating previous power outputs of agenerator to determine frequency components. Some embodiments may thenstore frequency components that exceed a threshold and use the storedfrequency components to predict power outputs based for the generator ona geolocation, time, environmental data. For example, some embodimentsmay apply and scale a set of stored frequency components in thetime-domain with a phase shift to predict power outputs based ageolocation and time of year.

Some embodiments may use other statistical or machine-learning models todetermine power outputs (or inputs, or when to engage the ICE for powergeneration in an end-to-end model), such as a hidden Markov model (orother dynamic Bayesian network) to determine a power output of arenewable energy generator such a wind turbine or a solar panel. Forexample, some embodiments may use a hidden Markov model to predict apower output or a weighting value used to affect a power output based ona set of categorical weather values, such as ‘hailing’, ‘icy road’, or‘inside city,’ where the predicted power output may be multiplied by theweighting value to predict an updated power output. Using the hiddenMarkov model may include using a set of numerical or categorical values,such as a current solar irradiance value or cloud coverage percentage,as observations of a state, and predict a future state based on theprevious state(s). The hidden Markov model may quantify these states andapply a hidden transformation state, which may be represented as anarray or matrix, to the hidden Markov model to predict a future state.The observations of the future may then be used to predict a futurepower output or other prediction, such as a future power consumption. Byusing a hidden Markov model or other statistical model, some embodimentsmay account for categorical information stored in weather data or otherenvironmental data to increase the accuracy of a power outputprediction. Furthermore, some embodiments may use simulations orstatistical models to generate a range of power outputs for a generatorfor one or more times of a time interval. For example, some may useMarkov chain model or a set of Monte Carlo simulations to generateddifferent environmental states weighted by their probabilities ofoccurrence to generate sets of different predicted power outputs andtheir associated likelihood values. Other example approaches include useof a reinforcement learning model in which a model policy or state valuefunction is learned by adjusting weights and biases in a deep neuralnetwork.

As described elsewhere in this disclosure, the predicted power outputs,predicted quantity of consumed energy, or other predicted value may beone of a set of predicted values. For example, some embodiments may usea statistical model to predict an uncertainty or confidence intervalsfor one or more predicted value, such as ranges of consumption andrenewable production. By varying the environmental data associated witha geolocation over time, some embodiments may generate a time-varyingcurve representing power output over time. Furthermore, by accountingfor uncertainty in the weather conditions or other environmentalconditions associated with a location, some embodiments may generateuncertainty bands representing confidence intervals for a power outputover time. For example, some embodiments may compute a range in which apower output is expected to fall with 95% confidence band over 15-minuteincrements for the next 12 hours and represent the range with differentsets of power generation values. For example, some embodiments maygenerate two sets of power outputs, where the first set of power outputsmay represent an upper end of a confidence band and the second set ofpower outputs may represent a lower end of the confidence band.

Some embodiments may update a set of predicted energy outputs based on auser setting a risk tolerance that adjusts the value(s) for predictedenergy outputs. For example, some embodiments may update the set ofpredicted energy outputs based on a prediction parameter indicating thatpower output predictions should be conservatively set at the 25^(th)percentile, which may reduce a predicted set of power outputscorresponding with each hour of a 3-hour period from [“1000 W”, “500 W”,“1000 W”] to [“900 W”, “450 W”, and “900 W”]. As described elsewhere inthis disclosure, some embodiments may use different sets of predictedpower outputs to schedule generator activation with different degrees ofprobability or indications of risk.

Some embodiments may use machine learning operations to determine apower output based on geolocations. For example, some embodiments mayuse recurrent neural networks (RNNs), like a long-short term memory(LSTM) models trained on a historical set of records that include poweroutputs. Using a LSTM may include using a RNN having neurons storing afirst set of model parameters that are retained over longer period oftime than a second set of model parameters, where both the first andsecond set of model parameters may be updated based on inputs to theneurons. For example, a BMS may use a machine learning model such as asupervised learning model, an unsupervised learning model, asemi-supervised learning model, a reinforcement learning model, or thelike. The machine learning model may include a neural network trained todetermine a power output value. The neural network may be based on alarge collection of nodes. Each node of a neural network may beconnected with many other nodes of the neural network. Such connectionscan be enforcing or inhibitory in their effect on an activation state ofone or more connected nodes. In some embodiments, each individual nodemay use a summing function that combines the values of its inputstogether, where an input may be a weather-related value or other value,a geolocation, a time of day, a sensor reading from a sensor of thevehicle, a water current, a computed result based on any of the above,or the like. In some embodiments, each connection (or the node itself)may use a threshold function such that an input signal must surpass thethreshold before the node propagates the signal to other nodes. A neuralnetwork system may be self-learning and trained, rather than explicitlyprogrammed, and can perform significantly better in certain areas ofproblem-solving compared to other computer programs. In someembodiments, neural networks may include multiple layers (e.g., where avalue traverses from front layers to back layers). In some embodiments,back-propagation techniques may be utilized by the neural networks,where forward stimulation is used to reset weights on the “front” nodes.In some embodiments, stimulation and inhibition for neural networks maybe more free-flowing, with connections interacting in a more chaotic andcomplex fashion.

The neural network may include one or more types of neural network, suchas a feedforward neural network, radial basis function neural network,self-organizing neural network, convolutional neural network, a RNN,modular neural network, transformer model, some combination thereof, orthe like. For example, some embodiments may use a trained feedforwardneural network to predict a power output such as 1100 W based on ageolocation and a time of day. By using a neural network to predict apower output, some embodiments may be able to account for equipmentvariation or un-modeled environmental factors. Alternatively, or inaddition, some embodiments may use a transformer model to predict apower output of a generator, a power consumption, or another valuedescribed in this disclosure. Using the transformer model may includeusing an encoder neural network and a decoder neural network. Theencoder neural network of the transformer model may include a multi-headattention model for performing self-attention operations to assignattention values to different input parameters, such as weather forecastvalues, sensor measurements, or the like. the decoder neural network ofthe transformer model may include a masked multi-head attention modelthat uses the attention values to generate predictions of power outputs,power consumption, or the like. Furthermore, while the above disclosesan embodiment that provides advantages based on the use of a neuralnetwork or another learning system, not all embodiments necessarilyprovide the advantage or necessarily include a neural network or otherlearning system, and some embodiments may lack the above-describedadvantages in view of trade-offs or other advantages.

The process 300 may include predicting a set of power consumption valuesbased on a set of records indicating previous power consumption valuesby the vehicle, as indicated by block 354. Some embodiments may predicta rate that energy will be consumed from a battery based on auser-entered amount that are then stored in a set of records indicatingprevious power consumption values by components of the vehicle. Forexample, some embodiments may cause the display of a UI having UIelements that permit a user to configure user-related lifestyleattributes or other attributes usable to predict electricityconsumption. A web application or native application may be coupled, viathe Internet and a webserver, to a network interface of a BMS of avehicle. A user may then configure one or more attributes bymanipulating one or more UI elements of the web application or nativeapplication to indicate values such as a preferred clock time of wakingup, clock time for sleeping, preferred temperature ranges, preferredhumidity values, preferred windows of time to use specificelectricity-consuming devices such as a water pump, air conditioningdevice, heating device such as a stove or a microwave, or the like. Someembodiments may then adjust a predicted power consumption based on theseattributes or the set of durations indicated by these attributes. Forexample, some embodiments may increase an power consumption for the setof clock times between 2 PM to 3 PM of a time interval set as being thetime between 1 PM to 5 PM, where the set of clock times from 2 PM to 3PM are indicated by a user as being moments of increased activity.

Some embodiments may associate different sets of devices with differentdevice schedules, where the device schedule may indicate different setsof durations for each set of devices that may then be used to determineindividual increases in an energy consumption rate. For example, a usermay indicate that a set of devices connected to a electrical outlets ofthe vehicle include a set of air conditioning devices, a set of heatingdevices, and a set of water pumps. Each set of devices may be associatedwith different activities and may be scheduled to occur over differentsets of durations, which may then result in different sets of increasedpower consumption values over a time interval. For example, a set of airconditioning devices may be scheduled to be active over a first set ofdurations of the time interval, such as during the time between 1 PM to2 PM and 6 PM to 8 PM. Similarly, a set of heating devices may bescheduled to be active over a second set of durations of the timeinterval, such as during the time between 1 PM to 1:30 PM and 6 PM to 7PM. Similarly, a set of water pumps may be scheduled to be active over athird set of durations of the time interval, such as during the timebetween 4 PM to 5 PM. Some embodiments may then retrieve a set ofequipment parameters storing an air conditioning power use estimate, aheating device power use estimate, and a water pump power use estimate.Some embodiments may then increase the power consumption for the timesbetween 1 PM to 2 PM and 6 PM to 8 PM based on the air conditioningpower use estimate, increase the power consumption for the times between1 PM to 1:30 PM and 6 PM to 7 PM based on the heating device power useestimate, and increase the power consumption for the time between 4 PMto 5 PM based on the water pump power use estimate.

Some embodiments may use a set of clock times provided by a user todetermine a schedule of equipment use. For example, a user may update aschedule to indicate that a water pump will be active between 9 AM and10 AM every morning. Some embodiments may then update a predicted powerconsumption by retrieving a stored parameter corresponding with thepower consumption of the water pump and increase the electricityconsumption by an amount indicated by the stored parameter.Alternatively, or in addition, some embodiments may shift an powerconsumption used to predict an power consumption over a time intervalbased on a user's preferred wake-up time, sleeping time, or based on anindication to shift a schedule of activity based on a sunrise time orsunset time.

Some embodiments may predict energy consumption quantities based on aset of sensor measurements of a set of sensors that are stored in a setof records indicating previous power consumption values. The set ofsensor measurements may include whole-vehicle power consumptionmeasurements, power consumption of an electrical outlet or set ofelectrical outlets, power consumption values associated with differentactivities or sections of a vehicle, or the like. Some embodiments maypredict energy consumption quantities by determining one or moremeasures of central tendency (e.g., a mean average, a median, a mode) ofpast power consumption values for different clock times of a timeinterval. For example, some embodiments may collect the previous tenpower consumption values for a vehicle at 10 AM for the previous tendays, compute a mean average value of the ten values, and use the meanaverage value as a prediction for the power consumption of the eleventhday.

Some embodiments may predict power consumption values based on valuesthat determined from both a user-indicated preference and one or moreenvironmental parameters. For example, some embodiments may receive aset of user-indicated preferred temperatures and predict a powerconsumption based on the user-indicated preferred temperature and anexternal temperature of the vehicle. Some embodiments may use ananalytical, semi-analytical or empirically-derived function to determinea contribution to a power consumption based on a temperature differenceor another difference between a user's indicated state and anenvironmental parameter. Such differences may include a differencebetween a preferred humidity and an external humidity, a preferredpressure and an external pressure, or the like.

Some embodiments may use a machine learning model and configure a set ofmodel parameters for predicting energy consumption quantities based onone or more user-provided values, stored sensor values or resultscomputed from user-provided values or sensor values. For example, someembodiments may obtain a set of sensor measurements from a set ofsensors, where the sensor measurements may include a temperaturemeasurement, a pressure measurement, a humidity measurement, or thelike. Some embodiments may then determine a set of power consumptionvalues based on the set of sensor measurements using a machine learningmodel such as an LSTM or another type of RNN. Neurons of a RNN mayinclude a set of hidden state values and may be structured such thatprior inputs of a RNN may be represented in a hidden state of a newinput. By using a RNN, some embodiments may be trained to detectcorrelations between previous patterns of power consumption values andsensor measurements over time. For example, by using a RNN, someembodiments may predict the time of an increase in an power consumptionafter a sensor-detected increase in a vehicle temperature. Furthermore,some embodiments may use other sources of data as inputs for machinelearning model to predict an energy consumption rate. For example, someembodiments may query a calendar API to determine a time of year andquery a third-party server to obtain a sunrise time, sundown time, andset of weather-related data based on a geolocation. Some embodiments maythen use the obtained values as inputs for a machine learning model toobtain a predicted energy consumption rate.

Some embodiments may configure a set of model parameters for a RNN bytraining the RNN based on a set of records indicating previous energyrates and a set of records indicating previous set of sensormeasurements. For example, as stated elsewhere in this disclosure, someembodiments may be configured to upload sensor measurements or otherdata from a local memory to a remote server or data storage service.Some embodiments may then access the remote server or data storageservice and use one or more remote computing services to train a RNN orother machine learning model by configuring a set of model parameters ofthe RNN or other machine learning model. Some embodiments may thenretrieve the set of model parameters after training and store the set ofmodel parameters in a local memory of the vehicle, which may reduce theneed for the vehicle to perform computationally costly trainingoperations. Furthermore, some embodiments may delete a version of theset of sensor measurements stored in local memory upon receiving aconfirmation message that the set of sensor measurements weresuccessfully uploaded to the remote server or data storage service. Bydeleting the local version of the set of measurements, some embodimentsmay free data storage space for future sensor measurements.

Some embodiments may use a set of sensor measurements of a vehicle todetect or identify vehicle occupants and use a count of the occupants orthe identity of the occupants to predict a set of energy consumptionrate. For example, some embodiments may detect the presence or absenceof a user based on a set of sensors of a vehicle (e.g., temperaturesensor, weight sensors, motion sensors, sound sensors) or a wearablecomputing device attached to the user. Some embodiments may increase apredicted power consumption based on a count of the number of occupantsof a vehicle, where the increase may be based on a multiplier factor ora set of rules. For example, some embodiments may determine that a setof occupants of a vehicle includes two occupants instead of one occupantand increase a predicted power consumption by 75% or some otherpercentage. Alternatively, or in addition, a BMS may predict differentpower consumption values for different vehicle occupants based on theircorresponding occupant records. For example, some embodiments mayidentify an occupant as an identified occupant. Some embodiments maythen retrieve an occupant record from a set of occupant records and thenlearn the identified occupant's schedule of device usage from theoccupant record. The occupant record may indicate different activity atdifferent clock times, different durations, at times relative a localsunrise time or sundown time, or the like. Some embodiments may use adefault set of parameters to predict power consumption values and switchto a set of occupant-specific parameters stored in a correspondingoccupant record that is learned or provided by a user after a thresholdamount of data is recorded for generating the set of user-specificparameters.

Similar to the prediction of power outputs, some embodiments may usestatistical models to determine power consumption values. For example,some embodiments may use a markov chain model, such as a hidden Markovmodel, to predict different sets of power consumption values fordifferent scenarios, weighted by their probabilities of occurrence. Asdescribed elsewhere, inputs to a hidden Markov model or otherstatistical model to may include sensor measurements, previous electricdevice usage data stored in records, user-indicated schedules ofbehavior, or the like. Each set of the different sets of powerconsumption values may be associated with a time of the same timeinterval. In some embodiments, the multiple power consumption valuescorresponding with a single time of the same time interval or binnedinto a shared time bin may be used to establish confidence intervals fora predicted set of power consumption values. For example, someembodiments may generate two sets of power consumption values, where thefirst set of power consumption values may represent an upper end of aconfidence band and the second set of power consumption values mayrepresent a lower end of the confidence band.

Similar to the predictions of power outputs, the use statistical methodsor simulations may result in the generation of multiple sets of powerconsumption values. For example, some embodiments may generate differentsequences of user behavior indicating electrical energy, where theprobabilities associated with the different sequences may be based on ageolocation of the vehicle and the previous behaviors of a vehicleoccupant. Some embodiments may then generate a time-varying curverepresenting power consumption over time. By accounting for uncertaintyin the power consumption for a future time interval based on a locationand a vehicle occupant's previous behavior, some embodiments maygenerate uncertainty bands representing confidence intervals for a powerconsumption over time.

As described elsewhere in this disclosure, some embodiments may accountfor uncertainty when performing one or more the operations described inthis disclosure. For example, some embodiments use a statistical modelor stochastic simulations to predicting multiple sets of powerconsumption values, such as more than 10 sets of power consumptionvalues, more than 100 sets of power consumption values, or more than1000 sets of power consumption values, where each set shares a same timeinterval. Some embodiments may use previous power consumption valuesassociated with a geolocation to provide parameters the statisticalmodel. Some embodiments may then determine a set of power consumptionexpectation values and uncertainty bands surrounding the set of powerconsumption expectation values. In some embodiments, the boundaries ofthe upper band and the lower band may be set based on an upper bandthreshold and a lower band threshold. In some embodiments, the upperband threshold may be a value greater than 0.5 and a lower bandthreshold may be a value less than 0.5, where both thresholds may bebound between 0 and 1.0, or percentile/ratio formats thereof. Forexample, some embodiments may use an upper band threshold equal to 80%and a lower band threshold equal to 20%. Some embodiments may thendetermine a lower band power consumption curve by, for each respectivetime of a set of times of a time interval, determining a lower bandvalue by selecting a power consumption value equal to or closest to thelower band threshold. For example, if the lower band threshold is 20%,some embodiments may select power consumption value closest to the20^(th) percentile for that respective time of the time interval (i.e.,20% of power consumption values are lower than the lower band value atthat respective time). Similarly, some embodiments may determine anupper band power consumption curve by, for each respective time of theset of times, determining an upper band value by selecting a powerconsumption value equal to or closest to the upper band threshold. Forexample, if the upper band threshold is 80%, some embodiments may selecta power consumption value closest to 80^(th) percentile for thatrespective time of the time interval (i.e., 80% of power consumptionvalues are lower than the upper band value at that respective time). Asdescribed elsewhere in this disclosure, in this disclosure, someembodiments may then calculate multiple scores based on the upper andlower band power consumption curves.

The process 300 may include determining a score based on the powercapacity, the set of power outputs, and a set of power consumptionvalues, as indicated by block 358. As described elsewhere in thisdisclosure, the score may be used to determine whether to activate agenerator based on a set of power outputs and power consumption values.Different types or orders of operations may be performed to determine ascore. Some embodiments may determine a set of rate differences betweenan power consumption and a power output rate of a renewable energygenerator and then integrate the rate difference to predict an energydeficit that is used as a score or used to determine a score.Alternatively, or in addition, some embodiments may determine quantitiesof energy for each generator and for energy consumption and thendetermine a score based on the computed energy values.

As described above, some embodiments may determine a set of differencesbetween a set of power outputs and a set of power consumption values andthen integrate the set of differences over a time interval to predict anet energy change to a battery. For example, some embodiments maypredict a set of power outputs and store the set of power outputs in alist as [1000, 500, 700], where each number represents a power output inkilowatt-hour per hour (kWh/hr) and is associated with a one-hourduration of a three-hour time interval. Some embodiments may predict aset of power consumption values for the same time period and store themin a list as [500, 550, 900] for the same time interval, where eachnumber represents an power consumption in kWh/hr. Some embodiments maythen determine a set of differences between the set of power outputs andthe set of power consumption values and store the set of differences ina list as [500, −50, −200], where each value represents a power inkWh/hr. Some embodiments may then numerically integrate the energydifference rate as defined by the set of differences over the three-hourtime interval to determine a net energy difference of 250 kWh. Someembodiments may then add this net energy difference to a power capacityof a battery to determine a score representing the total amount ofenergy stored in the battery at the conclusion of the time interval.

As described above, some embodiments may independently determine energyvalues for each generator or type of generator (e.g., renewablegenerators vs. non-renewable generators). For example, to determine ascore corresponding with a 3-hour time interval, some embodiments mayintegrate a predicted set of power outputs of a renewable energygenerator to predict a total quantity of energy being produced by therenewable energy generator. Similarly, some embodiments may integratethe predicted set of power consumption values of a vehicle to determinea total quantity of energy consumed during the time interval. Someembodiments may then determine a score as the difference between thetotal quantity of energy produced and the total quantity of energyconsumed. Alternatively, or in addition, some embodiments may determinea score as sum of the difference and a power capacity of a battery.

In addition to using a set of predicted power outputs of a renewableenergy generator to determine a score, some embodiments may use a set ofpredicted power outputs of a non-renewable energy generator to determinea score. For example, some embodiments may combine the power outputsfrom both renewable and non-renewable energy generators and determine adifference with a rate of energy consumed for a time interval todetermine a total predicted energy change and use the total predictedenergy change as a score. Some embodiments may predict the power outputof an ICE generator using a set of generator parameters associated withthe ICE. For example, some embodiments may retrieve a set of ICEparameters from a record of equipment parameters to predict a poweroutput of the ICE generator and predict the amount of energy to beproduced by the ICE generator over the time interval. Alternatively, orin addition, some embodiments may use records of past power outputs fromthe ICE generator to predict a future power output. For example, someembodiments may determine a power output from an ICE generator bycomputing an average power output of the generator based onpreviously-recorded power outputs of the ICE generator.

Some embodiments may determine that a predicted power output exceeds apower output threshold. For example, some embodiments may determine thata set of batteries may have a maximum charging rate and use the maximumcharging rate as a power output threshold. Some embodiments may thenlimit a predicted energy surplus or predicted energy deficit based onthe maximum power output. For example, some embodiments may determinethat a battery cannot be charged at a rate greater than 1000 Watts evenif a power output of a solar energy generator is 1500 Watts. Someembodiments may then cap the power output of the solar energy generatorto 1000 watts for the purposes of determining a power deficit or powersurplus during a time interval. Some embodiments may model temperatureincreases in a battery. For example, some embodiments may obtain abattery temperature measurement that indicates an internal or surfacetemperature of a battery and model changes in the battery temperaturewhile the battery is being charged. Some embodiments may then determinea predicted temperature increase based on the charging of the battery.Some embodiments may determine whether a predicted temperature increasecauses the predicted temperature of the battery to satisfy a batterytemperature threshold and, in response to a determination that thepredicted temperature will satisfy the battery temperature threshold,schedule or otherwise determine a set of charging delays for the batterytemperature threshold. Some embodiments may then update a predicted setof power outputs by decreasing the predicted set of power outputs basedon the scheduled set of charging delays.

Some embodiments may account for measures of uncertainty whendetermining a score. Some embodiments may account for a lower percentileestimate when using predicted power outputs and higher percentileestimates when using predicted power consumption. For example, someembodiments may use a set of power consumption values that are above the75^(th) percentile of the greatest power consumption values for a timeinterval and a power output of a generator that is below the 25^(th)percentile of the least power outputs for the same time interval.Alternatively, or in addition, some embodiments may compute multiplescores corresponding with different sets of power consumption values ordifferent sets of power outputs. For example, some embodiments maycompute an upper band score based on an upper band power consumptioncurve and a lower band score based on a lower band power consumptioncurve. As described elsewhere in this disclosure, some embodiments maydetermine that the score satisfies a threshold if at least one of theupper band score or lower band score satisfies the threshold.Alternatively, or in addition, some embodiments may generate adistribution of scores corresponding with different probabilities. Forexample, some embodiments may use perform a set of Monte Carlosimulations to determine a set of scores or determine a distribution ofscores using a Gaussian (or other) distribution that is scaled andcentered according to the predictions for energy consumption andrenewable energy production. As described elsewhere in this disclosure,some embodiments may then determine whether more than a threshold amountof randomized samplings representing scores satisfy a threshold, asfurther described below.

The process 300 may include determining whether score satisfies an ICEactivation threshold, as indicated by block 362. As described elsewherein this disclosure, the score may be used to determine whether or not toactivate a generator based on whether or not the score satisfies athreshold. In some embodiments, the threshold may be a constant value ora pre-determined value. For example, a score may be equal to the sum ofa power capacity of a battery and a predicted net energy differencebetween the energy provided to a battery by a renewable energy generatorduring a time interval and the predicted energy consumed during the sametime interval. Some embodiments may then determine that the score isgreater than a threshold, where the threshold may be an absolute amountsuch as 2.0 kWh or a relative value such as 15% of the maximum powercapacity of the battery. Alternatively, the threshold may be a varyingvalue that changes based on a user-defined schedule, a geolocation, or asystem-updated value. For example, some embodiments may includeinstructions to set the threshold to 30% within a first geographicregion indicated as rural and set the threshold to 10% within a secondgeographic region indicated as urban. Furthermore, as describedelsewhere in this disclosure, some embodiments may generate multiplescores associated with different probability values or uncertaintybands. Some embodiments may determine that an ICE activation thresholdis satisfied if one or more of the multiple scores satisfy the ICEactivation threshold.

Different embodiments may make different comparisons to determine that ascore satisfies an ICE activation threshold. For example, as describedelsewhere in this disclosure, some embodiments may determine that thescore satisfies the ICE activation threshold if the score is less thanthe threshold. Alternatively, some embodiments may determine that ascore satisfies the ICE activation threshold if the score is greaterthan the ICE activation threshold. It should be understood that thedifferent embodiments may then activate an ICE in response to the scoresatisfying the ICE activation threshold.

As described elsewhere in this disclosure, some embodiments may updatean ICE activation threshold or another threshold associated with abattery capacity based on a measurement of battery degradation. Forexample, some embodiments may measure the maximum power capacity ofbattery and determine that the maximum power capacity is less than aprevious maximum power capacity. Some embodiments may predictdegradation based on a cycle count of the battery, where a cycle may bedetected as a change in a battery's power capacity within a durationthreshold. Alternatively, a cycle count may be determined based a netchange in the charge and discharge of a battery. For example, the cyclecount of a battery that begins at 100% power capacity and is thendischarged from to 50% power capacity before being charged back to a100% power capacity twice may be increased by one cycle. Based on adetermination that a battery has experienced a threshold number of cyclecounts, some embodiments may update an ICE activation threshold or atarget power capacity of a battery.

In some embodiments, a determination that a score satisfies thethreshold may cause a BMS to activate an ICE generator immediately.Alternatively, or in addition, a determination that the score satisfiesthe threshold may cause a BMS to schedule the activation of the ICEgenerator. Furthermore, as described elsewhere in this disclosure, someembodiments may schedule a shutdown of the ICE generator after athreshold power is reached. In response to a determination that thescore satisfies the threshold, operations of the process 300 may proceedto operations described for block 364. Otherwise, operations of theprocess 300 may proceed to operations may proceed to operationsdescribed for block 368.

In some embodiments, the process 300 includes activating an internalcombustion engine generator to charge the battery, as indicated by block364. As described elsewhere in this disclosure, some embodiments mayexecute a control routine to charge a battery using a generator, such asan ICE generator. In some embodiments, a BMS may send a set of controlsignals to one or more non-renewable power generators such as an ICEgenerator to begin charging a battery. For example, some embodiments maysend control signals via a CAN bus to an ICE-coupled generator, aninverter, or an electronically controlled switch used to control whethera non-renewable energy source is allowed to provide energy to a battery.In some embodiments, the set of control routines may be furtherconfigured to receive signals indicative of performance of the batteryand the power sources. For example, some embodiments may poll registersor receive interrupts via the CAN bus to obtain a set of signals used todetermine a state of the battery such as a temperature, a current, avoltage, a power capacity, or the like.

Some embodiments may request a user confirmation before activating agenerator. For example, some embodiments may send a notification messageto a mobile computing device of a user or a display panel of a vehicle,where the notification message may display a recommendation to activatean ICE generator to charge a battery. Some embodiments may then wait toreceive a response message providing user confirmation to activate thegenerator before activating the generator. For example, some embodimentsmay send a message scheduling a generator activation at 5 PM, where thegenerator is not activated at 5 PM unless a user confirms the message.

Some embodiments may use a variable-rate engine to control the amount ofelectrical energy produced by an ICE. Various operational parameters maybe used to control the operation of a generator. For example, someembodiments may use an engine capable of being shifted from a 50 kW to a100 kW mode of operation. Some embodiments may then use one or moreoperations described in this disclosure to determine a predicted powerdeficit and operate the ICE such that a minimum power capacity issatisfied. For example, some embodiments may determine that, for a firsthour, a battery will experience an energy deficit of 100 kWh in a firsthour and an energy deficit of 200 kWh in a second hour. In response,some embodiments may operate an electricity-producing ICE to produce 100kWh and 200 kWh for the first and second hours, respectively.

Some embodiments may use one or more machine learning operations tocontrol an engine. For example, some embodiments may train areinforcement learning model to select and control power sourcescharging the battery to satisfy one or more thresholds. Various rewardfunctions may be used when implementing a reinforcement learningoperation, such as by using a weighted combination of carbon emissionsand a risk of under-provisioning power as features in a reward function.For example, some embodiments may train a reinforcement learning modelto set control parameters of a generator keep a battery at 80% charge byexecuting multiple simulations of vehicle operations, where the learningmodel includes a reward function that rewards model parameterconfigurations which keep the battery at 80% charge. Some embodimentsmay use the reinforcement learning model parameters to then set one ormore actual operational parameters of a generator.

Some embodiments may employ process control operations to determine whento activate an ICE, where process control operations may includeproportional-integral-derivative (PID) operations or model predictivecontrol (MPC) operations. Some embodiments may implement MPC operationsto control ICE activation by defining a state as including the batterycapacity of a battery as a first state value and a charging rate of thebattery as a second state value. Some embodiments implementing the setof MPC operations may further model the power output of a renewablegenerator as a first actuation input, model the power consumption of thedevices of the vehicle as a second actuation input, and model the ICEpower output as a third actuation input, where each actuation input isindicated to update at least one of the state values in a linearrelationship. Some embodiments implementing the set of MPC operationsmay further set an error function to be based on a difference betweenthe battery capacity and a target battery capacity, which may be thesame or different from the minimum power capacity described elsewhere inthis disclosure. Some embodiments may then apply a set of constraints,such as a first constraint that indicates a duration of time in a timeinterval where the ICE is not permitted to be active, a secondconstraint indicating a minimum power output of the ICE, or a thirdconstraint indicating a maximum charging rate of a battery. Aftersetting up a linear system using the MPC framework, some embodiments mayimplement one or more numerical methods to solve the linear system todetermine a when to activate an ICE or at what power output the ICEshould be set to for ICEs that can be configured to vary their poweroutputs. For example, some embodiments may implement a gradient descentmethod to schedule an ICE activation time or determine an operationalparameter of the ICE.

The process 300 may include determining whether an excess amount ofenergy that cannot be stored in the battery is being produced by the setof renewable energy generators, as indicated by block 368. Someembodiments may determine that an excess amount of energy that cannot bestored in a battery system is being produced if a power capacity of thebattery has already reached its maximum energy storage capacity while arenewable energy generator is producing electrical energy. In responseto a determination that an excess amount of energy of energy that cannotbe stored in a battery system is being produced by a set of renewableenergy generators, operations of the process 300 may proceed tooperations described for block 372. Otherwise, operations of the process300 may return to operations described for block 304.

In some embodiments, the process 300 includes activatingenergy-intensive computing operations, as indicated by block 372. Someembodiments may activate energy-intensive computing operations byloading an application state and executing one or more applicationoperations based on the application state. Energy-intensive computingoperations may be scalable and may include providing computing servicesto client computing devices, performing graphic-intensive computing,performing cryptographic operations, or the like.

In some embodiments, the energy-intensive computing operations mayinclude performing program instructions such as performing cryptographicmining computations. For example, some embodiments may increase anamount of electrical power provided to a first computing node of avehicle, where the first computing node is part of a peer-to-peercomputing nodes. The peer-to-peer computing nodes may be used to store ablockchain or another directed acyclic graphs with hash pointersimplementing tamper-evident distributed ledger, where a blockchain mayinclude a linked list of blocks. Each respective block includes a Merkeltree and a corresponding Merkel root which provides node attribute ofthe respective block, and subsequent blocks of the respective block havenode attributes that include cryptographic hashes based on the Merkelroot of their respective proceeding blocks.

Some embodiments may perform operations to add a new block to theblockchain, such as by performing operations associated with aproof-of-work blockchain mining model. For example, some embodiments mayexecute program instruction to obtain a target hash of a blockchainstored on the peer-to-peer computing nodes and generate a plurality ofhash values. Some embodiments may generate a hash value by randomly orpseudo-randomly generating a nonce value and then performing a series ofhashing operations to transform the nonce value to the hash value. Someembodiments may determine whether any of the hash values satisfy a setof criteria based on the most recent block of a blockchain, such asfinding a hash value that is equal to or less than the target hash. Inresponse to a determination that the hashed value satisfies the set ofcriteria, some embodiments may add a new block to the blockchain andsend a notification to other nodes of the peer-to-peer computing nodesindicating that the set of criteria has been satisfied and that a newblock has been added.

FIG. 4 is a schematic diagram of a vehicle that includes a batterymanagement system, in accordance with some embodiments. The system 400includes a vehicle 401, which may be an RV or other motor vehicle, wherethe vehicle 401 is powered by the engine 490. The system 400 may carry aBMS and inverter system 402 to perform one or more operations describedin this disclosure. The BMS and inverter system 403 may receive sensordata from the vehicle sensors 402, which may include motion sensors,temperature sensors, pressure sensors, a GPS, or the like. The BMS andinverter system 402 may also receive data from the wirelesscommunication system 440, which may send wireless signals to and receivewireless signals from a server that provides weather forecast data orother environmental data to the BMS and inverter system 402. The BMS andinverter system 402 may also receive schedule data provided by a user,as described elsewhere in this disclosure. The BMS and inverter system402 may also receive data from a solar energy generator 406, an ICEgenerator 408, and a battery 404, each of which may be carried by thevehicle 401. Based on the input data and a set of thresholds, the BMSand inverter system 402 or the additional computing system 450 maygenerate power output predictions for the solar energy generator 406 andfurther predict power consumption by devices of the vehicle 401. Asdescribed elsewhere in this disclosure, the power consumptionpredictions may include predictions for the power or energy consumed bydevices such as the air conditioning device 431, the heating device 432,or the water pump 433.

Based on these predictions, the BMS and inverter system 402 or acomputing device controlling the BMS and inverter system 402 maydetermine that a predicted battery state of the battery 404 satisfies anICE activation threshold. In response, the BMS and inverter system 402may activate the ICE generator 408. Some embodiments may further displaynotifications of predicted states or ICE generator activation on agraphic user interface 442 being displayed in the vehicle 401. As shownin this diagram, the battery 404 may be isolated from the engine 490,which may have its own battery system. Thus, the battery 404 may providepower to the vehicle 401 or be charged by the solar energy generator 406even when the vehicle 401 is stationary or when the engine 490 is turnedoff. Furthermore, though the vehicle 401 may be an RV, it should beunderstood that some embodiments may include a different type of vehicleinstead of the RV 401, such as a yacht or other watercraft.Additionally, it should be understood that, in some embodiments, avehicle does not include one or more power-consuming devices describedin this disclosure, which is not to suggest that other parts cannot alsobe omitted. For example, some embodiments may include a vehicle carryinga renewable energy generator and a non-renewable energy generator thatdoes not include a heating device.

In some embodiments, the vehicle 401 may be used as a public or privatetransportation vehicle for periods of time greater than one hour,greater than four hours, or greater than 12 hours. The BMS and invertersystem 402 may perform one or more operations described in thisdisclosure to power the air conditioning device 431, which may consumepower at an accelerated rate in high-temperature environments. Thevehicle 401 may be deployed when the battery 404 is charged to a maximumenergy threshold and returned to a charging station when the depletionof the energy stored in the battery 404 causes the power capacity of thebattery 404 to satisfy a minimum energy threshold. As describedelsewhere in this disclosure, some embodiments may predict future poweroutputs of the solar energy generator 406 based on a current geolocationof the vehicle 401 and environmental data associated with the vehicle401. Similarly, some embodiments may use the geolocation and records ofprevious power consumption to predict the amount of power that will beconsumed by the air conditioning device 431. Upon satisfying the minimumenergy threshold, the vehicle 401 may display an indicator on thegraphic user interface 442 to instruct a vehicle driver to return thevehicle 401 to a charging station. Alternatively, or in addition, thevehicle 401 may be capable of autonomous driving functionality and mayreceive instructions to return to the charging station autonomously.

Some embodiments may modify one or more energy thresholds based on ascheduled path or anticipated duration of a vehicle. Modifying an energythreshold may include increasing a maximum energy threshold ordecreasing a minimum energy threshold in response to a detected changeto the length of a scheduled path or a detected change in the durationthat the vehicle will travel along the path. For example, the BMS andinverter system 402 may receive, via an API message or a user interface,a message indicating that an anticipated path will require five hours oftravel time for the vehicle 401. In response, the BMS and invertersystem 402 may set a maximum energy threshold to be X % of a maximumpower capacity based on a function that defaults to having the minimumenergy threshold at a lesser value than the maximum energy threshold,such as a value less than 25%, a value less than 10%, or 0%. Forexample, some embodiments may determine X using a function thatcalculates X as the product of the number of hours that a vehicle istraveling and a value Y, where Y may be a proportionality constant.Various other functions may be used, such as a logarithmic function, atrigonometric function, an exponential function, or the like.

Computer System

FIG. 5 shows an exemplary computing system 1000 by which the presenttechniques may be implemented in accordance with some embodiments.Various portions of systems and methods described herein, may include orbe executed on one or more computer systems similar to computing system1000. Further, processes and modules described herein may be executed byone or more processing systems similar to that of computing system 1000.

Computing system 1000 may include one or more processors (e.g.,processors 1010 a-1010 n) coupled to system memory 1020, an input/outputI/O device interface 1030, and a network interface 1040 via aninput/output (I/O) interface 1050. A processor may include a singleprocessor or a plurality of processors (e.g., distributed processors). Aprocessor may be any suitable processor capable of executing orotherwise performing instructions. A processor may include a centralprocessing unit (CPU) that carries out program instructions to performthe arithmetical, logical, and input/output operations of computingsystem 1000. A processor may execute code (e.g., processor firmware, aprotocol stack, a database management system, an operating system, or acombination thereof) that creates an execution environment for programinstructions. A processor may include a programmable processor. Aprocessor may include general or special purpose microprocessors. Aprocessor may receive instructions and data from a memory (e.g., systemmemory 1020). Computing system 1000 may be a uni-processor systemincluding one processor (e.g., processor 1010 a), or a multi-processorsystem including any number of suitable processors (e.g., 1010 a-1010n). Multiple processors may be employed to provide for parallel orsequential execution of one or more portions of the techniques describedherein. Processes, such as logic flows, described herein may beperformed by one or more programmable processors executing one or morecomputer programs to perform functions by operating on input data andgenerating corresponding output. Processes described herein may beperformed by, and apparatus can also be implemented as, special purposelogic circuitry, e.g., a vision processing unit (VPU), a neuromorphiccomplementary metal-oxide-semiconductor (CMOS) chip, an FPGA (fieldprogrammable gate array), a PGA (programmable gate array), or an ASIC(application specific integrated circuit) such as a tensor processingunit (TPU). Computing system 1000 may include a plurality of computingdevices (e.g., distributed computer systems) to implement variousprocessing functions.

I/O device interface 1030 may provide an interface for connection of oneor more I/O devices 1060 to computing system 1000. I/O devices mayinclude devices that receive input (e.g., from a user) or outputinformation (e.g., to a user). I/O devices 1060 may include, forexample, graphical user interface presented on displays (e.g., a cathoderay tube (CRT) or liquid crystal display (LCD) monitor), pointingdevices (e.g., a computer mouse or trackball), keyboards, keypads,touchpads, scanning devices, voice recognition devices, gesturerecognition devices, printers, audio speakers, microphones, cameras, orthe like. I/O devices 1060 may be connected to computing system 1000through a wired or wireless connection. I/O devices 1060 may beconnected to computing system 1000 from a remote location. I/O devices1060 located on remote computer system, for example, may be connected tocomputing system 1000 via a network and network interface 1040.

Network interface 1040 may include a network adapter that provides forconnection of computing system 1000 to a network. Network interface may1040 may facilitate data exchange between computing system 1000 andother devices connected to the network. Network interface 1040 maysupport wired or wireless communication. The network may include anelectronic communication network, such as the Internet, a local areanetwork (LAN), a wide area network (WAN), a cellular communicationsnetwork, or the like.

System memory 1020 may be configured to store program instructions 1100or data 1110. Program instructions 1100 may be executable by a processor(e.g., one or more of processors 1010 a-1010 n) to implement one or moreembodiments of the present techniques. Instructions 1100 may includemodules of computer program instructions for implementing one or moretechniques described herein with regard to various processing modules.Program instructions may include a computer program (which in certainforms is known as a program, software, software application, script, orcode). A computer program may be written in a programming language,including compiled or interpreted languages, or declarative orprocedural languages. A computer program may include a unit suitable foruse in a computing environment, including as a stand-alone program, amodule, a component, or a subroutine. A computer program may or may notcorrespond to a file in a file system. A program may be stored in aportion of a file that holds other programs or data (e.g., one or morescripts stored in a markup language document), in a single filededicated to the program in question, or in multiple coordinated files(e.g., files that store one or more modules, sub programs, or portionsof code). A computer program may be deployed to be executed on one ormore computer processors located locally at one site or distributedacross multiple remote sites and interconnected by a communicationnetwork.

System memory 1020 may include a tangible program carrier having programinstructions stored thereon. A tangible program carrier may include anon-transitory computer readable storage medium. A non-transitory,computer-readable storage medium may include a machine readable storagedevice, a machine readable storage substrate, a memory device, or anycombination thereof. Non-transitory computer readable storage medium mayinclude non-volatile memory (e.g., flash memory, ROM, PROM, EPROM,EEPROM memory), volatile memory (e.g., random access memory (RAM),static random access memory (SRAM), synchronous dynamic RAM (SDRAM)),bulk storage memory (e.g., CD-ROM or DVD-ROM, hard-drives), or the like.System memory 1020 may include a non-transitory computer readablestorage medium that may have program instructions stored thereon thatare executable by a computer processor (e.g., one or more of processors1010 a-1010 n) to cause the subject matter and the functional operationsdescribed herein. A memory (e.g., system memory 1020) may include asingle memory device or a plurality of memory devices (e.g., distributedmemory devices). Instructions or other program code to provide thefunctionality described herein may be stored on a tangible,non-transitory computer readable media. In some cases, the entire set ofinstructions may be stored concurrently on the media, or in some cases,different parts of the instructions may be stored on the same media atdifferent times.

I/O interface 1050 may be configured to coordinate I/O traffic betweenprocessors 1010 a-1010 n, system memory 1020, network interface 1040,I/O devices 1060, or other peripheral devices. I/O interface 1050 mayperform protocol, timing, or other data transformations to convert datasignals from one component (e.g., system memory 1020) into a formatsuitable for use by another component (e.g., processors 1010 a-1010 n).I/O interface 1050 may include support for devices attached throughvarious types of peripheral buses, such as a variant of the PeripheralComponent Interconnect (PCI) bus standard or the Universal Serial Bus(USB) standard.

Embodiments of the techniques described herein may be implemented usinga single instance of computing system 1000 or multiple computing systems1000 configured to host different portions or instances of embodiments.Multiple computing systems 1000 may provide for parallel or sequentialprocessing/execution of one or more portions of the techniques describedherein.

Those skilled in the art will appreciate that computing system 1000 ismerely illustrative and is not intended to limit the scope of thetechniques described herein. Computing system 1000 may include anycombination of mobile computing devices or software that may perform orotherwise provide for the performance of the techniques describedherein. For example, computing system 1000 may include or be acombination of a cloud-computing system, a data center, a server rack, aserver, a virtual server, a desktop computer, a laptop computer, atablet computer, a server device, a client device, a mobile telephone, apersonal digital assistant (PDA), a mobile audio or video player, a gameconsole, a vehicle-mounted computer, or a Global Positioning System(GPS), or the like. Computing system 1000 may also be connected to otherdevices that are not illustrated, or may operate as a stand-alonesystem. In addition, the functionality provided by the illustratedcomponents may, in some embodiments, be combined in fewer components ordistributed in additional components. Similarly, in some embodiments,the functionality of some of the illustrated components may not beprovided or other additional functionality may be available.

Those skilled in the art will also appreciate that while various itemsare illustrated as being stored in memory or on storage while beingused, these items or portions of them may be transferred between memoryand other storage devices for purposes of memory management and dataintegrity. Alternatively, in other embodiments some or all of thesoftware components may execute in memory on another device andcommunicate with the illustrated computer system via inter-computercommunication. Some or all of the system components or data structuresmay also be stored (e.g., as instructions or structured data) on acomputer-accessible medium or a portable article to be read by anappropriate drive, various examples of which are described above. Insome embodiments, instructions stored on a computer-accessible mediumseparate from computer system 1000 may be transmitted to computer system1000 via transmission media or signals such as electrical,electromagnetic, or digital signals, conveyed via a communication mediumsuch as a network or a wireless link. Various embodiments may furtherinclude receiving, sending, or storing instructions or data implementedin accordance with the foregoing description upon a computer-accessiblemedium. Accordingly, the present techniques may be practiced with othercomputer system configurations.

In block diagrams, illustrated components are depicted as discretefunctional blocks, but embodiments are not limited to systems in whichthe functionality described herein is organized as illustrated. Thefunctionality provided by each of the components may be provided bysoftware or hardware modules that are differently organized than ispresently depicted, for example such software or hardware may beintermingled, conjoined, replicated, broken up, distributed (e.g. withina data center or geographically), or otherwise differently organized.The functionality described herein may be provided by one or moreprocessors of one or more computers executing code stored on a tangible,non-transitory, machine readable medium. In some cases, notwithstandinguse of the singular term “medium,” the instructions may be distributedon different storage devices associated with different computingdevices, for instance, with each computing device having a differentsubset of the instructions, an implementation consistent with usage ofthe singular term “medium” herein. In some cases, third party contentdelivery networks may host some or all of the information conveyed overnetworks, in which case, to the extent information (e.g., content) issaid to be supplied or otherwise provided, the information may beprovided by sending instructions to retrieve that information from acontent delivery network.

The reader should appreciate that the present application describesseveral independently useful techniques. Rather than separating thosetechniques into multiple isolated patent applications, applicants havegrouped these techniques into a single document because their relatedsubject matter lends itself to economies in the application process. Butthe distinct advantages and aspects of such techniques should not beconflated. In some cases, embodiments address all of the deficienciesnoted herein, but it should be understood that the techniques areindependently useful, and some embodiments address only a subset of suchproblems or offer other, unmentioned benefits that will be apparent tothose of skill in the art reviewing the present disclosure. Due to costsconstraints, some techniques disclosed herein may not be presentlyclaimed and may be claimed in later filings, such as continuationapplications or by amending the present claims. Similarly, due to spaceconstraints, neither the Abstract nor the Summary of the Inventionsections of the present document should be taken as containing acomprehensive listing of all such techniques or all aspects of suchtechniques.

It should be understood that the description and the drawings are notintended to limit the present techniques to the particular formdisclosed, but to the contrary, the intention is to cover allmodifications, equivalents, and alternatives falling within the spiritand scope of the present techniques as defined by the appended claims.Further modifications and alternative embodiments of various aspects ofthe techniques will be apparent to those skilled in the art in view ofthis description. Accordingly, this description and the drawings are tobe construed as illustrative only and are for the purpose of teachingthose skilled in the art the general manner of carrying out the presenttechniques. It is to be understood that the forms of the presenttechniques shown and described herein are to be taken as examples ofembodiments. Elements and materials may be substituted for thoseillustrated and described herein, parts and processes may be reversed oromitted, and certain features of the present techniques may be utilizedindependently, all as would be apparent to one skilled in the art afterhaving the benefit of this description of the present techniques.Changes may be made in the elements described herein without departingfrom the spirit and scope of the present techniques as described in thefollowing claims. Headings used herein are for organizational purposesonly and are not meant to be used to limit the scope of the description.

As used throughout this application, the word “may” is used in apermissive sense (i.e., meaning having the potential to), rather thanthe mandatory sense (i.e., meaning must). The words “include”,“including”, and “includes” and the like mean including, but not limitedto. As used throughout this application, the singular forms “a,” “an,”and “the” include plural referents unless the content explicitlyindicates otherwise. Thus, for example, reference to “an element” or “aelement” includes a combination of two or more elements, notwithstandinguse of other terms and phrases for one or more elements, such as “one ormore.” The term “or” is, unless indicated otherwise, non-exclusive,i.e., encompassing both “and” and “or.” Terms describing conditionalrelationships, e.g., “in response to X, Y,” “upon X, Y,”, “if X, Y,”“when X, Y,” and the like, encompass causal relationships in which theantecedent is a necessary causal condition, the antecedent is asufficient causal condition, or the antecedent is a contributory causalcondition of the consequent, e.g., “state X occurs upon condition Yobtaining” is generic to “X occurs solely upon Y” and “X occurs upon Yand Z.” Such conditional relationships are not limited to consequencesthat instantly follow the antecedent obtaining, as some consequences maybe delayed, and in conditional statements, antecedents are connected totheir consequents, e.g., the antecedent is relevant to the likelihood ofthe consequent occurring. Statements in which a plurality of attributesor functions are mapped to a plurality of objects (e.g., one or moreprocessors performing steps A, B, C, and D) encompasses both all suchattributes or functions being mapped to all such objects and subsets ofthe attributes or functions being mapped to subsets of the attributes orfunctions (e.g., both all processors each performing steps A-D, and acase in which processor 1 performs step A, processor 2 performs step Band part of step C, and processor 3 performs part of step C and step D),unless otherwise indicated. Similarly, reference to “a computer system”performing step A and “the computer system” performing step B caninclude the same computing device within the computer system performingboth steps or different computing devices within the computer systemperforming steps A and B. Further, unless otherwise indicated,statements that one value or action is “based on” another condition orvalue encompass both instances in which the condition or value is thesole factor and instances in which the condition or value is one factoramong a plurality of factors. Unless otherwise indicated, statementsthat “each” instance of some collection have some property should not beread to exclude cases where some otherwise identical or similar membersof a larger collection do not have the property, i.e., each does notnecessarily mean each and every. Limitations as to sequence of recitedsteps should not be read into the claims unless explicitly specified,e.g., with explicit language like “after performing X, performing Y,” incontrast to statements that might be improperly argued to imply sequencelimitations, like “performing X on items, performing Y on the X' editems,” used for purposes of making claims more readable rather thanspecifying sequence. Statements referring to “at least Z of A, B, andC,” and the like (e.g., “at least Z of A, B, or C”), refer to at least Zof the listed categories (A, B, and C) and do not require at least Zunits in each category. Unless specifically stated otherwise, asapparent from the discussion, it is appreciated that throughout thisspecification discussions utilizing terms such as “processing,”“computing,” “calculating,” “determining” or the like refer to actionsor processes of a specific apparatus, such as a special purpose computeror a similar special purpose electronic processing/computing device.Features described with reference to geometric constructs, like“parallel,” “perpendicular/orthogonal,” “square”, “cylindrical,” and thelike, should be construed as encompassing items that substantiallyembody the properties of the geometric construct, e.g., reference to“parallel” surfaces encompasses substantially parallel surfaces. Thepermitted range of deviation from Platonic ideals of these geometricconstructs is to be determined with reference to ranges in thespecification, and where such ranges are not stated, with reference toindustry norms in the field of use, and where such ranges are notdefined, with reference to industry norms in the field of manufacturingof the designated feature, and where such ranges are not defined,features substantially embodying a geometric construct should beconstrued to include those features within 15% of the definingattributes of that geometric construct. The terms “first”, “second”,“third,” “given” and so on, if used in the claims, are used todistinguish or otherwise identify, and not to show a sequential ornumerical limitation. As is the case in ordinary usage in the field,data structures and formats described with reference to uses salient toa human need not be presented in a human-intelligible format toconstitute the described data structure or format, e.g., text need notbe rendered or even encoded in Unicode or ASCII to constitute text;images, maps, and data-visualizations need not be displayed or decodedto constitute images, maps, and data-visualizations, respectively;speech, music, and other audio need not be emitted through a speaker ordecoded to constitute speech, music, or other audio, respectively.Computer implemented instructions, commands, and the like are notlimited to executable code and can be implemented in the form of datathat causes functionality to be invoked, e.g., in the form of argumentsof a function or API call. To the extent bespoke noun phrases are usedin the claims and lack a self-evident construction, the definition ofsuch phrases may be recited in the claim itself, in which case, the useof such bespoke noun phrases should not be taken as invitation to impartadditional limitations by looking to the specification or extrinsicevidence.

In this patent, to the extent any U.S. patents, U.S. patentapplications, or other materials (e.g., articles) have been incorporatedby reference, the text of such materials is only incorporated byreference to the extent that no conflict exists between such materialand the statements and drawings set forth herein. In the event of suchconflict, the text of the present document governs, and terms in thisdocument should not be given a narrower reading in virtue of the way inwhich those terms are used in other materials incorporated by reference.

The present techniques will be better understood with reference to thefollowing enumerated embodiments:

1. A device, comprising: a non-transitory, computer-readable mediumstoring instructions that, when executed by one or more processors of anembedded computer system, effectuate operations comprising: determining,with the embedded computer system, a power capacity of a battery carriedby a vehicle; predicting, with the embedded computer system, a first setof values indicative of amounts of power to be stored during a timeinterval by the battery, the power to be stored being generated duringthe time interval by a renewable energy generator carried by thevehicle; predicting, with the embedded computer system, a second set ofvalues indicative of amounts of energy to be consumed from the batteryduring the time interval, the energy consumed being predicted based onprevious consumption of energy by the vehicle; determining, with theembedded computer system, a score based on the power capacity of thebattery, the first set of values indicative of amounts of power to bestored, and the second set of values indicative of amounts of energy tobe consumed; determining, with the embedded computer system, whether thescore satisfies a threshold; and in response to a determination that thescore satisfies the threshold, activating, with the embedded computersystem, an internal combustion engine to charge to the battery.2. The device of embodiment 1, wherein: the vehicle is a motor vehiclecomprising a chassis battery; the battery is a house battery of themotor vehicle; activating the internal combustion engine comprisescharging the house battery with the internal combustion engine withoutcharging the chassis battery; the previous consumption of energy isstored in a set of records indicating previous power consumption values,wherein the set of records indicates amounts of energy previously usedby a set of devices connected to a set of electrical outlets of thevehicle, wherein the set of devices comprises a set of air conditioningdevices, a set of heating devices, and a set of water pumps; predictingthe second set of values comprises: predicting, based on the set ofrecords indicating previous power consumption values, a first set ofdurations during which the set of air conditioning devices will beactive, a second set of durations during which the set of heatingdevices will be active, and a third set of durations during which theset of water pumps will be active; increasing a first subset of thesecond set of values by a first amount associated with the set of airconditioning devices during the first set of durations; increasing asecond subset of the second set of values by a second amount associatedwith the set of heating devices during the second set of durations; andincreasing a third subset of the second set of values by a third amountassociated with the set of water pumps during the third set ofdurations.3. The device of embodiment 2, wherein activating the internalcombustion engine comprises sending an instruction from a batterymanagement system of the vehicle to an inverter in electrical contactwith the house battery and the internal combustion engine, wherein theinstruction is sent via a controller area network bus of the vehicle.4. The device of any of embodiments 1 to 3, wherein the vehicle is awatercraft, and wherein the renewable energy generator is a firstrenewable energy generator, and wherein the first renewable energygenerator comprises a wind turbine, the operations further comprising:obtaining an scheduled path for the watercraft during the time interval,wherein the scheduled path comprises a geolocation associated with afirst time of the time interval; determining a predicted ship velocityassociated with the geolocation based on the scheduled path; predictinga first wind speed associated with the geolocation; determining a sharedvector component between the first wind speed and the predicted shipvelocity; and determining a value of the first set of values, whereinthe value is a power output associated with the first time, and whereindetermining the power output comprises using a function that computes acube of the shared vector component.5. The device of any of embodiments 1 to 5, wherein the threshold is afirst threshold, and wherein activating the internal combustion enginecomprises activating the internal combustion engine at a first time, theoperations further comprising: determining, at a second time, a secondpower output indicating power provided by the renewable energygenerator; determining whether the second power output satisfies asecond threshold of the battery; and in response to a determination thatthe second power output satisfies the second threshold of the battery,increasing an amount of electrical power provided to a first computingnode of a peer-to-peer computing nodes executing program instructionscomprising: obtaining a target hash of a block of a blockchain stored onthe peer-to-peer computing nodes; generating a hash value; and based ona determination that the hash value satisfies a set of criteria of thetarget hash, adding a new block to the blockchain.6. The device of any of embodiments 1 to 6, wherein: determining thescore comprises: determining a set of differences by determiningdifferences between the first set of values and the second set ofvalues, wherein each respective difference of the set of differences isassociated with a different time of the time interval; predicting afirst quantity indicating an energy change by integrating the set ofdifferences over the time interval; determining a sum of the firstquantity and the power capacity; and determining the score based on thesum; and activating the internal combustion engine comprises: predictinga first time of the time interval during which the score satisfies thethreshold; and activating the internal combustion engine during thefirst time.7. The device of embodiment 6, the operations further comprisingobtaining a weather forecast for a geolocation of the vehicle, whereinpredicting the first set of values comprises predicting amounts of powerto be delivered to the battery by the renewable energy generator overthe time interval based on the weather forecast, the predicted first setof values varying over the time interval based on weather changesindicated by the weather forecast.8. The device of any of embodiments 1 to 7, wherein predicting the firstset of values comprises: obtaining a geolocation of the vehicle;requesting, via a network, a weather forecast during the time intervalat the geolocation, wherein the weather forecast comprises subsets of aset of weather model values, and wherein each subset of weather modelvalues correspond with a different time of the time interval; andpredicting the first set of values by, for each respective subset of theset of weather model values, determining a respective power output ofthe first set of values based on the respective subset of the set ofweather model values associated with a respective duration of the timeinterval.9. The device of embodiment 8, wherein: the geolocation is a firstgeolocation; the renewable energy generator comprises a solar energygenerator; the set of weather model values comprises a set of solarirradiance predictions; obtaining the first geolocation comprisesobtaining a path of geolocations indicating locations to be visited bythe vehicle; for each respective geolocation of the path ofgeolocations: the respective geolocation corresponds with a respectivetime of the time interval; and the respective geolocation is associatedwith a respective solar irradiance prediction of the set of solarirradiance predictions; and predicting the first set of values comprisesdetermining the first set of values based on the set of solar irradiancepredictions and a set of solar panel parameters of a solar power modelused to predict an amount of power produced by the solar energygenerator, wherein a first solar panel parameter of the set of solarpanel parameters is used as a scaling factor for a solar irradianceprediction of the set of solar irradiance predictions.10. The device of any of embodiments 1 to 9, wherein determining thefirst set of values comprises: obtaining a geolocation of the vehicle;retrieving, from a set of records indicating previous power outputs, aplurality of power outputs associated with the geolocation andassociated with a set of clock times of the time interval, wherein: eachclock time of the set of clock times is within a shared time bin as arespective clock time of the time interval; determining a respectivemeasure of central tendency for each subset of values associated withpower outputs of the plurality of power outputs binned to a same clocktime of the set of clock times; and determining the first set of valuescomprises determining the first set of values based on the measures ofcentral tendency.11. The device of any of embodiments 1 to 10, the operations furthercomprising: obtaining a set of sensor measurements from a set of sensorsattached to the vehicle, wherein the set of sensor measurementscomprises a temperature; and obtaining a recurrent neural network and aset of model parameters to determine the second set of values based onthe set of sensor measurements, wherein predicting the second set ofvalues comprises predicting the second set of values with the recurrentneural network based on the set of sensor measurements.12. The device of embodiment 11, wherein the set of sensor measurementsis a first set of sensor measurements, the operations furthercomprising: retrieving a second set of sensor measurements, wherein eachsubset of the second set of sensor measurements is associated with arespective power consumption of a set of records indicating previouspower consumption values; configuring the set of model parameters bytraining the recurrent neural network to predict power consumptionvalues based on the second set of sensor measurements; and storing theset of model parameters in a local memory of a computing device attachedto the vehicle.13. The device of any of embodiments 1 to 12, wherein activating theinternal combustion engine comprises: determining whether a scheduledactivation time is within a permitted generator activation interval; andbased on a determination that the scheduled activation time is withinthe permitted generator activation interval, activating the internalcombustion engine.14. The device of any of embodiments 1 to 13, the operations furthercomprising: obtaining a battery temperature measurement indicating atemperature of the battery; determining a predicted temperature increasebased on the battery temperature measurement; determining whether atemperature threshold is satisfied based on the predicted temperatureincrease; in response to a determination that the temperature thresholdis satisfied, predicting a set of charging delays; and reducing thefirst set of values based on the set of charging delays.15. The device of any of embodiments 1 to 14, wherein activating theinternal combustion engine comprises: sending a notification message toa mobile computing device to indicate a recommendation to activate theinternal combustion engine; receiving a response message from the mobilecomputing device; and in response to obtaining the response message,activating the internal combustion engine.16. The device of any of embodiments 1 to 15, the operations furthercomprising: obtaining a set of sensor measurements from a set of sensorsattached to the vehicle, wherein: determining the second set of valuescomprises determining at least one value of the second set of valuesbased on the set of sensor measurements; and the set of sensormeasurements is stored on a local memory of a computing device attachedto the vehicle; determining whether a wireless connection between aserver and the computing device comprising the local memory isavailable; in response to a determination that the wireless connectionis available, sending the set of sensor measurements to the server viathe wireless connection; and deleting a version of the set of sensormeasurements from the local memory.17. The device of any of embodiments 1 to 16, wherein determining thesecond set of values comprises: identifying a set of occupants in thevehicle, wherein the set of occupants comprises an identified occupant;retrieving a set of occupant records for the set of occupants, whereinthe set of occupant records comprises an occupant record associated withthe identified occupant; and retrieving power consumption valuesassociated with the identified occupant from the set of recordsindicating previous power consumption values, wherein determining thesecond set of values comprises determining the second set of valuesbased on the power consumption values associated with the identifiedoccupant.18. The device of any of embodiments 1 to 17, further comprising:determining that a maximum power capacity of the battery has decreased;and performing a calibration operation to determine an updated value forthe threshold, wherein determining the score comprises determining thescore based on the updated value.19. The device of any of embodiments 1 to 18, wherein the score is afirst score, and wherein the threshold is a first threshold, and whereinpredicting the second set of values comprises: predicting multiple setsof power consumption values for the time interval using a statisticalmodel based on a geolocation of the vehicle; obtaining an upper bandthreshold that is greater than 0.5 and less than 1.0; obtaining a lowerband threshold that is greater than 0 and less than 0.5; for eachrespective time of a set of times of the time interval: determining arespective subset of power consumption values of the multiple sets ofpower consumption values, wherein each power consumption value of therespective subsets is associated with the respective time; determining alower band value of a third set of values associated with powerconsumption values by selecting a value of the respective subset ofvalues based on the lower band threshold; determining an upper bandvalue of a fourth set of values associated with power consumption valuesby selecting a value of the respective subset of values based on theupper band threshold; determining a lower band score based on the firstset of values and set of power consumption values; and determining anupper band score based on the first set of values and the second set ofvalues associated with power consumption, wherein determining that thescore satisfies the first threshold comprises determining that at leastone of the lower band score or the upper band score satisfies the firstthreshold.20. The device of any of embodiments 1 to 19, wherein the vehicle isstationary, the operations further comprises: obtaining a geolocation ofthe vehicle, wherein: predicting the first set of values comprisespredicting, using a statistical model, a third set of values associatedwith power outputs and predicting a second set of values associated withpower outputs based on the geolocation; predicting the second set ofvalues comprises predicting, using a statistical model, a fourth set ofvalues associated with power consumption and predicting a fifth set ofvalues associated with power consumption based on the geolocation and aset of records indicating previous power consumption values; for eachrespective time of the time interval: a power output of the first set ofvalues associated with power outputs associated with the respective timeis less than a power output of the second set of values associated withpower outputs associated with the respective time; an power consumptionof the first set of values associated with power consumption associatedwith the respective time is less than an power consumption of the secondset of values associated with power consumption associated with therespective time; determining a cycle count of the battery; increasingthe threshold based on the cycle count; determining whether the scoresatisfies the threshold comprises: determining whether a scheduledactivation time is within a permitted generator activation interval;activating the internal combustion engine comprises; generating a linearsystem indicating a set of linear relationships between a first poweroutput of the renewable energy generator, a second power output of theinternal combustion engine, and a first power consumption; numericallysolving the linear system to determine a value for the first poweroutput; determining an operational parameter based on the first poweroutput; and activating the internal combustion engine based on theoperational parameter.21. The device of any of embodiments 1 to 20, wherein predicting thesecond set of values further comprises steps for predicting the secondset of values.22. The device of any of embodiments 1 to 21, wherein predicting thefirst set of values further comprises steps for predicting the first setof values.23. The device of any of embodiments 1 to 22, wherein the devicecomprises the vehicle, and wherein the embedded computer system iscarried by the vehicle, and wherein the vehicle is a wheeled motorvehicle or a watercraft.24. A method comprising any of the operations of embodiments 1 to 23.25. A non-transitory, computer-readable media storing instructions that,when executed by one or more processors, effectuate operationscomprising those of any of embodiments 1 to 23.

What is claimed is:
 1. A device, comprising: a non-transitory,computer-readable medium storing instructions that, when executed by oneor more processors of an embedded computer system, effectuate operationscomprising: determining, with the embedded computer system, a powercapacity of a battery carried by a vehicle; predicting, with theembedded computer system, a first set of values indicative of amounts ofpower to be stored during a time interval by the battery, the power tobe stored being generated during the time interval by a renewable energygenerator carried by the vehicle; predicting, with the embedded computersystem, a second set of values indicative of amounts of energy to beconsumed from the battery during the time interval, the energy consumedbeing predicted based on previous consumption of energy by the vehicle;determining, with the embedded computer system, a score based on thepower capacity of the battery, the first set of values indicative ofamounts of power to be stored, and the second set of values indicativeof amounts of energy to be consumed; determining, with the embeddedcomputer system, whether the score satisfies a threshold; and inresponse to a determination that the score satisfies the threshold,activating, with the embedded computer system, an internal combustionengine to charge to the battery.
 2. The device of claim 1, wherein: thevehicle is a motor vehicle comprising a chassis battery; the battery isa house battery of the motor vehicle; activating the internal combustionengine comprises charging the house battery with the internal combustionengine without charging the chassis battery; the previous consumption ofenergy is stored in a set of records indicating previous powerconsumption values, wherein the set of records indicates amounts ofenergy previously used by a set of devices connected to a set ofelectrical outlets of the vehicle, wherein the set of devices comprisesa set of air conditioning devices, a set of heating devices, and a setof water pumps; predicting the second set of values comprises:predicting, based on the set of records indicating previous powerconsumption values, a first set of durations during which the set of airconditioning devices will be active, a second set of durations duringwhich the set of heating devices will be active, and a third set ofdurations during which the set of water pumps will be active; increasinga first subset of the second set of values by a first amount associatedwith the set of air conditioning devices during the first set ofdurations; increasing a second subset of the second set of values by asecond amount associated with the set of heating devices during thesecond set of durations; and increasing a third subset of the second setof values by a third amount associated with the set of water pumpsduring the third set of durations.
 3. The device of claim 2, whereinactivating the internal combustion engine comprises sending aninstruction from a battery management system of the vehicle to aninverter in electrical contact with the house battery and the internalcombustion engine, wherein the instruction is sent via a controller areanetwork bus of the vehicle.
 4. The device of claim 1, wherein thevehicle is a watercraft, and wherein the renewable energy generator is afirst renewable energy generator, and wherein the first renewable energygenerator comprises a wind turbine, the operations further comprising:obtaining an scheduled path for the watercraft during the time interval,wherein the scheduled path comprises a geolocation associated with afirst time of the time interval; determining a predicted ship velocityassociated with the geolocation based on the scheduled path; predictinga first wind speed associated with the geolocation; determining a sharedvector component between the first wind speed and the predicted shipvelocity; and determining a value of the first set of values, whereinthe value is a power output associated with the first time, and whereindetermining the power output comprises using a function that computes acube of the shared vector component.
 5. The device of claim 1, whereinthe threshold is a first threshold, and wherein activating the internalcombustion engine comprises activating the internal combustion engine ata first time, the operations further comprising: determining, at asecond time, a second power output indicating power provided by therenewable energy generator; determining whether the second power outputsatisfies a second threshold of the battery; and in response to adetermination that the second power output satisfies the secondthreshold of the battery, increasing an amount of electrical powerprovided to a first computing node of a peer-to-peer computing nodesexecuting program instructions comprising: obtaining a target hash of ablock of a blockchain stored on the peer-to-peer computing nodes;generating a hash value; and based on a determination that the hashvalue satisfies a set of criteria of the target hash, adding a new blockto the blockchain.
 6. The device of claim 1, wherein: determining thescore comprises: determining a set of differences by determiningdifferences between the first set of values and the second set ofvalues, wherein each respective difference of the set of differences isassociated with a different time of the time interval; predicting afirst quantity indicating an energy change by integrating the set ofdifferences over the time interval; determining a sum of the firstquantity and the power capacity; and determining the score based on thesum; and activating the internal combustion engine comprises: predictinga first time of the time interval during which the score satisfies thethreshold; and activating the internal combustion engine during thefirst time.
 7. The device of claim 6, the operations further comprisingobtaining a weather forecast for a geolocation of the vehicle, whereinpredicting the first set of values comprises predicting amounts of powerto be delivered to the battery by the renewable energy generator overthe time interval based on the weather forecast, the predicted first setof values varying over the time interval based on weather changesindicated by the weather forecast.
 8. The device of claim 1, whereinpredicting the first set of values comprises: obtaining a geolocation ofthe vehicle; requesting, via a network, a weather forecast during thetime interval at the geolocation, wherein the weather forecast comprisessubsets of a set of weather model values, and wherein each subset ofweather model values correspond with a different time of the timeinterval; and predicting the first set of values by, for each respectivesubset of the set of weather model values, determining a respectivepower output of the first set of values based on the respective subsetof the set of weather model values associated with a respective durationof the time interval.
 9. The device of claim 8, wherein: the geolocationis a first geolocation; the renewable energy generator comprises a solarenergy generator; the set of weather model values comprises a set ofsolar irradiance predictions; obtaining the first geolocation comprisesobtaining a path of geolocations indicating locations to be visited bythe vehicle; for each respective geolocation of the path ofgeolocations: the respective geolocation corresponds with a respectivetime of the time interval; and the respective geolocation is associatedwith a respective solar irradiance prediction of the set of solarirradiance predictions; and predicting the first set of values comprisesdetermining the first set of values based on the set of solar irradiancepredictions and a set of solar panel parameters of a solar power modelused to predict an amount of power produced by the solar energygenerator, wherein a first solar panel parameter of the set of solarpanel parameters is used as a scaling factor for a solar irradianceprediction of the set of solar irradiance predictions.
 10. The device ofclaim 1, wherein determining the first set of values comprises:obtaining a geolocation of the vehicle; retrieving, from a set ofrecords indicating previous power outputs, a plurality of power outputsassociated with the geolocation and associated with a set of clock timesof the time interval, wherein: each clock time of the set of clock timesis within a shared time bin as a respective clock time of the timeinterval; determining a respective measure of central tendency for eachsubset of values associated with power outputs of the plurality of poweroutputs binned to a same clock time of the set of clock times; anddetermining the first set of values comprises determining the first setof values based on the measures of central tendency.
 11. The device ofclaim 1, the operations further comprising: obtaining a set of sensormeasurements from a set of sensors attached to the vehicle, wherein theset of sensor measurements comprises a temperature; and obtaining arecurrent neural network and a set of model parameters to determine thesecond set of values based on the set of sensor measurements, whereinpredicting the second set of values comprises predicting the second setof values with the recurrent neural network based on the set of sensormeasurements.
 12. The device of claim 11, wherein the set of sensormeasurements is a first set of sensor measurements, the operationsfurther comprising: retrieving a second set of sensor measurements,wherein each subset of the second set of sensor measurements isassociated with a respective power consumption of a set of recordsindicating previous power consumption values; configuring the set ofmodel parameters by training the recurrent neural network to predictpower consumption values based on the second set of sensor measurements;and storing the set of model parameters in a local memory of a computingdevice attached to the vehicle.
 13. The device of claim 1, whereinactivating the internal combustion engine comprises: determining whethera scheduled activation time is within a permitted generator activationinterval; and based on a determination that the scheduled activationtime is within the permitted generator activation interval, activatingthe internal combustion engine.
 14. The device of claim 1, theoperations further comprising: obtaining a battery temperaturemeasurement indicating a temperature of the battery; determining apredicted temperature increase based on the battery temperaturemeasurement; determining whether a temperature threshold is satisfiedbased on the predicted temperature increase; in response to adetermination that the temperature threshold is satisfied, predicting aset of charging delays; and reducing the first set of values based onthe set of charging delays.
 15. The device of claim 1, whereinactivating the internal combustion engine comprises: sending anotification message to a mobile computing device to indicate arecommendation to activate the internal combustion engine; receiving aresponse message from the mobile computing device; and in response toobtaining the response message, activating the internal combustionengine.
 16. The device of claim 1, the operations further comprising:obtaining a set of sensor measurements from a set of sensors attached tothe vehicle, wherein: determining the second set of values comprisesdetermining at least one value of the second set of values based on theset of sensor measurements; and the set of sensor measurements is storedon a local memory of a computing device attached to the vehicle;determining whether a wireless connection between a server and thecomputing device comprising the local memory is available; in responseto a determination that the wireless connection is available, sendingthe set of sensor measurements to the server via the wirelessconnection; and deleting a version of the set of sensor measurementsfrom the local memory.
 17. The device of claim 1, wherein determiningthe second set of values comprises: identifying a set of occupants inthe vehicle, wherein the set of occupants comprises an identifiedoccupant; retrieving a set of occupant records for the set of occupants,wherein the set of occupant records comprises an occupant recordassociated with the identified occupant; and retrieving powerconsumption values associated with the identified occupant from the setof records indicating previous power consumption values, whereindetermining the second set of values comprises determining the secondset of values based on the power consumption values associated with theidentified occupant.
 18. The device of claim 1, further comprising:determining that a maximum power capacity of the battery has decreased;and performing a calibration operation to determine an updated value forthe threshold, wherein determining the score comprises determining thescore based on the updated value.
 19. The device of claim 1, wherein thescore is a first score, and wherein the threshold is a first threshold,and wherein predicting the second set of values comprises: predictingmultiple sets of power consumption values for the time interval using astatistical model based on a geolocation of the vehicle; obtaining anupper band threshold that is greater than 0.5 and less than 1.0;obtaining a lower band threshold that is greater than 0 and less than0.5; for each respective time of a set of times of the time interval:determining a respective subset of power consumption values of themultiple sets of power consumption values, wherein each powerconsumption value of the respective subsets is associated with therespective time; determining a lower band value of a third set of valuesassociated with power consumption values by selecting a value of therespective subset of values based on the lower band threshold;determining an upper band value of a fourth set of values associatedwith power consumption values by selecting a value of the respectivesubset of values based on the upper band threshold; determining a lowerband score based on the first set of values and set of power consumptionvalues; and determining an upper band score based on the first set ofvalues and the second set of values associated with power consumption,wherein determining that the score satisfies the first thresholdcomprises determining that at least one of the lower band score or theupper band score satisfies the first threshold.
 20. The device of claim1, wherein the vehicle is stationary, the operations further comprises:obtaining a geolocation of the vehicle, wherein: predicting the firstset of values comprises predicting, using a statistical model, a thirdset of values associated with power outputs and predicting a second setof values associated with power outputs based on the geolocation;predicting the second set of values comprises predicting, using astatistical model, a fourth set of values associated with powerconsumption and predicting a fifth set of values associated with powerconsumption based on the geolocation and a set of records indicatingprevious power consumption values; for each respective time of the timeinterval: a power output of the first set of values associated withpower outputs associated with the respective time is less than a poweroutput of the second set of values associated with power outputsassociated with the respective time; an power consumption of the firstset of values associated with power consumption associated with therespective time is less than an power consumption of the second set ofvalues associated with power consumption associated with the respectivetime; determining a cycle count of the battery; increasing the thresholdbased on the cycle count; determining whether the score satisfies thethreshold comprises: determining whether a scheduled activation time iswithin a permitted generator activation interval; activating theinternal combustion engine comprises; generating a linear systemindicating a set of linear relationships between a first power output ofthe renewable energy generator, a second power output of the internalcombustion engine, and a first power consumption; numerically solvingthe linear system to determine a value for the first power output;determining an operational parameter based on the first power output;and activating the internal combustion engine based on the operationalparameter.
 21. The device of claim 1, wherein predicting the second setof values further comprises steps for predicting the second set ofvalues.
 22. The device of claim 1, wherein predicting the first set ofvalues further comprises steps for predicting the first set of values.23. The device of claim 1, wherein the device comprises the vehicle, andwherein the embedded computer system is carried by the vehicle, andwherein the vehicle is a wheeled motor vehicle or a watercraft.
 24. Amethod comprising: determining, with an embedded computer system, apower capacity of a battery of a vehicle; predicting, with the embeddedcomputer system, a first set of values indicative of amounts of power tobe stored during a time interval by the battery, the power to be storedbeing generated during the time interval by a renewable energy generatorcarried by the vehicle; predicting, with the embedded computer system, asecond set of values indicative of amounts of energy to be consumed fromthe battery during the time interval, the energy consumed beingpredicted based on previous consumption of energy by the vehicle;determining, with the embedded computer system, a score based on thepower capacity of the battery, the first set of values indicative ofamounts of power to be stored, and the second set of values indicativeof amounts of energy to be consumed; determining, with the embeddedcomputer system, a score based on the power capacity, the set of poweroutputs, and the set of power consumption values; determining, with theembedded computer system, whether the score satisfies a threshold; andin response to a determination that the score satisfies the threshold,activating, with the embedded computer system, an internal combustionengine to charge to the battery.